remote build aliases

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

View file

@ -135,8 +135,8 @@
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 --max-jobs 0"; rebuild-host-remote = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --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-home-remote = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git --max-jobs 0;
rebuild-all-remote = "rebuild-home-remote && rebuild-host-remote"; rebuild-all-remote = "rebuild-home-remote && rebuild-host-remote";
}; };
}; };