aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-10-16 14:13:55 +0200
committerGitea <gitea@fake.local>2022-10-16 14:17:12 +0000
commite658b79d06ddc917e2ecabd4ad7d8c9037e38121 (patch)
tree92e01e7d84a257f34b45af982717d657b67a8338 /deploy_nixos
parentc4c20b691cbb71fc8fe06f9ce09d9a5bf256a6b1 (diff)
downloadnixcfg-e658b79d06ddc917e2ecabd4ad7d8c9037e38121.tar.gz
nixcfg-e658b79d06ddc917e2ecabd4ad7d8c9037e38121.zip
Add channel selection in the deploy script
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-xdeploy_nixos1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy_nixos b/deploy_nixos
index 0bd1b4c..2b55799 100755
--- a/deploy_nixos
+++ b/deploy_nixos
@@ -7,4 +7,5 @@ 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 --show-trace