treefmt v2.5.0traversed 1215 files emitted 527 files for processing formatted 527 files (4 changed) in 1.845s M home-manager/common.nix M home-manager/modules/librewolf.nix diff --git a/home-manager/common.nix b/home-manager/common.nix index d7e31d7..9672622 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -110,6 +110,9 @@ home.stateVersion = "23.11"; home.username = lib.mkDefault "joerg"; home.homeDirectory = - if pkgs.stdenv.hostPlatform.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}"; + if pkgs.stdenv.hostPlatform.isDarwin then + "/Users/${config.home.username}" + else + "/home/${config.home.username}"; programs.home-manager.enable = true; } diff --git a/home-manager/modules/librewolf.nix b/home-manager/modules/librewolf.nix index 6cdf064..3eeb6a7 100644 --- a/home-manager/modules/librewolf.nix +++ b/home-manager/modules/librewolf.nix @@ -36,15 +36,17 @@ in ''; # Native messaging host so the pywalfox addon can read noctalia colors. - home.file.".librewolf/native-messaging-hosts/pywalfox.json" = lib.mkIf pkgs.stdenv.hostPlatform.isLinux { - text = builtins.toJSON { - name = "pywalfox"; - description = "Automatically theme your browser using the colors generated by Pywal"; - path = "${pkgs.pywalfox-native}/bin/pywalfox"; - type = "stdio"; - allowed_extensions = [ "pywalfox@frewacom.org" ]; - }; - }; + home.file.".librewolf/native-messaging-hosts/pywalfox.json" = + lib.mkIf pkgs.stdenv.hostPlatform.isLinux + { + text = builtins.toJSON { + name = "pywalfox"; + description = "Automatically theme your browser using the colors generated by Pywal"; + path = "${pkgs.pywalfox-native}/bin/pywalfox"; + type = "stdio"; + allowed_extensions = [ "pywalfox@frewacom.org" ]; + }; + }; # Register native messaging host so the browser extension can talk to browser-cli home.activation.installBrowserCliHost = lib.hm.dag.entryAfter [ "writeBoundary" ] ''