diff --git a/home/modules/firefox.nix b/home/modules/firefox.nix index 9558c1d..f29cbc5 100644 --- a/home/modules/firefox.nix +++ b/home/modules/firefox.nix @@ -41,5 +41,11 @@ in userChrome = config.programs.firefox.profiles.default.userChrome; }; }; + + home.packages = with pkgs; [ + (writeShellScriptBin "alt-firefox" '' + ${lib.getExe config.programs.firefox.package} -P "alt" + '') + ]; }; } diff --git a/hosts/snowhawk/home.nix b/hosts/snowhawk/home.nix index 01ce9ed..73d0d49 100644 --- a/hosts/snowhawk/home.nix +++ b/hosts/snowhawk/home.nix @@ -99,10 +99,6 @@ nixos-rebuild switch --log-format internal-json -v $@ |& nom --json '') - (writeShellScriptBin "alt-firefox" '' - ${lib.getExe pkgs.firefox} -P "alt" - '') - (writeShellScriptBin "suspend" '' systemctl suspend '')