Add remote builds shortcut
This commit is contained in:
parent
e8cb234147
commit
13b049b431
1 changed files with 2 additions and 0 deletions
|
@ -133,7 +133,9 @@
|
|||
|
||||
# Rebuild everything
|
||||
rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git";
|
||||
rebuild-home-remote = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git -j0";
|
||||
rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git";
|
||||
rebuild-host-remote = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git -j0";
|
||||
rebuild-all = "rebuild-home && rebuild-host";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue