remote build aliases

This commit is contained in:
albert 2023-11-21 14:22:20 +09:00
parent d602a084d6
commit 916ccb8aea
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -135,7 +135,7 @@
rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git"; rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git";
rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git"; rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git";
rebuild-all = "rebuild-home && rebuild-host"; rebuild-all = "rebuild-home && rebuild-host";
rebuild-host-remote = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git -j0"; rebuild-host-remote = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git --max-jobs 0";
rebuild-home-remote = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git -j0"; rebuild-home-remote = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git -j0";
rebuild-all-remote = "rebuild-home-remote && rebuild-host-remote"; rebuild-all-remote = "rebuild-home-remote && rebuild-host-remote";
}; };