use nh for sysrebuild
This commit is contained in:
parent
37558b53e5
commit
2a982c01e1
2 changed files with 11 additions and 3 deletions
|
|
@ -20,7 +20,6 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
|
||||
password-store.package = pkgs.pass-wayland;
|
||||
|
||||
mangohud = {
|
||||
|
|
@ -40,9 +39,9 @@
|
|||
fish = {
|
||||
functions = {
|
||||
sysrebuild =
|
||||
"sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#' 2>&1 | nom";
|
||||
"nh os switch --ask /home/user/Projects/personal/nix-config";
|
||||
sysrebuild-boot =
|
||||
"sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#' 2>&1 | nom";
|
||||
"nh os boot --ask /home/user/Projects/personal/nix-config";
|
||||
sysupdate =
|
||||
"nix flake update --commit-lock-file /home/user/Projects/personal/nix-config";
|
||||
syscleanup =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue