treefmt-check
checks.x86_64-linux.formatting
· build #423
· raw
1tribuchet: building on jamie2treefmt v2.5.0traversed 1215 files3emitted 527 files for processing4formatted 527 files (4 changed) in 3.354s5 M home-manager/common.nix6 M home-manager/modules/librewolf.nix7diff --git a/home-manager/common.nix b/home-manager/common.nix8index d7e31d7..9672622 1006449--- a/home-manager/common.nix10+++ b/home-manager/common.nix11@@ -110,6 +110,9 @@12 home.stateVersion = "23.11";13 home.username = lib.mkDefault "joerg";14 home.homeDirectory =15- if pkgs.stdenv.hostPlatform.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}";16+ if pkgs.stdenv.hostPlatform.isDarwin then17+ "/Users/${config.home.username}"18+ else19+ "/home/${config.home.username}";20 programs.home-manager.enable = true;21 }22diff --git a/home-manager/modules/librewolf.nix b/home-manager/modules/librewolf.nix23index 6cdf064..3eeb6a7 10064424--- a/home-manager/modules/librewolf.nix25+++ b/home-manager/modules/librewolf.nix26@@ -36,15 +36,17 @@ in27 '';28 29 # Native messaging host so the pywalfox addon can read noctalia colors.30- home.file.".librewolf/native-messaging-hosts/pywalfox.json" = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {31- text = builtins.toJSON {32- name = "pywalfox";33- description = "Automatically theme your browser using the colors generated by Pywal";34- path = "${pkgs.pywalfox-native}/bin/pywalfox";35- type = "stdio";36- allowed_extensions = [ "pywalfox@frewacom.org" ];37- };38- };39+ home.file.".librewolf/native-messaging-hosts/pywalfox.json" =40+ lib.mkIf pkgs.stdenv.hostPlatform.isLinux41+ {42+ text = builtins.toJSON {43+ name = "pywalfox";44+ description = "Automatically theme your browser using the colors generated by Pywal";45+ path = "${pkgs.pywalfox-native}/bin/pywalfox";46+ type = "stdio";47+ allowed_extensions = [ "pywalfox@frewacom.org" ];48+ };49+ };50 51 # Register native messaging host so the browser extension can talk to browser-cli52 home.activation.installBrowserCliHost = lib.hm.dag.entryAfter [ "writeBoundary" ] ''