Add remote builds shortcut

This commit is contained in:
albert 2023-11-21 13:54:16 +09:00
parent e8cb234147
commit 13b049b431
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -133,7 +133,9 @@
# Rebuild everything # Rebuild everything
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-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 = "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"; rebuild-all = "rebuild-home && rebuild-host";
}; };
}; };