firefox: move alt launch script to module
This commit is contained in:
parent
32a5792162
commit
a9fb22bf86
2 changed files with 6 additions and 4 deletions
|
@ -41,5 +41,11 @@ in
|
||||||
userChrome = config.programs.firefox.profiles.default.userChrome;
|
userChrome = config.programs.firefox.profiles.default.userChrome;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
(writeShellScriptBin "alt-firefox" ''
|
||||||
|
${lib.getExe config.programs.firefox.package} -P "alt"
|
||||||
|
'')
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,10 +99,6 @@
|
||||||
nixos-rebuild switch --log-format internal-json -v $@ |& nom --json
|
nixos-rebuild switch --log-format internal-json -v $@ |& nom --json
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(writeShellScriptBin "alt-firefox" ''
|
|
||||||
${lib.getExe pkgs.firefox} -P "alt"
|
|
||||||
'')
|
|
||||||
|
|
||||||
(writeShellScriptBin "suspend" ''
|
(writeShellScriptBin "suspend" ''
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue