aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-xdeploy_nixos7
1 files changed, 5 insertions, 2 deletions
diff --git a/deploy_nixos b/deploy_nixos
index a716d6b..c4ce678 100755
--- a/deploy_nixos
+++ b/deploy_nixos
@@ -7,5 +7,8 @@ copy cluster/$CLUSTER/cluster.nix /etc/nixos/cluster.nix
copy cluster/$CLUSTER/node/$NIXHOST.nix /etc/nixos/node.nix
copy cluster/$CLUSTER/node/$NIXHOST.site.nix /etc/nixos/site.nix
-cmd "nix-channel --add https://nixos.org/channels/nixos-22.05 nixos"
-cmd nixos-rebuild switch --upgrade --show-trace
+# use ./upgrade_nixos instead to upgrade NixOS
+#cmd "nix-channel --add https://nixos.org/channels/nixos-22.05 nixos"
+#cmd nixos-rebuild switch --upgrade --show-trace
+
+cmd nixos-rebuild switch --show-trace