From 105c08172827499504816106ffe1b61d76c2d4c8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 28 Nov 2022 22:58:39 +0100 Subject: Staging: ability to run Nix jobs using exec2 driver --- upgrade_nixos | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'upgrade_nixos') diff --git a/upgrade_nixos b/upgrade_nixos index 1297a2b..df3d259 100755 --- a/upgrade_nixos +++ b/upgrade_nixos @@ -1,6 +1,11 @@ #!/usr/bin/env ./sshtool -cmd nix-channel --add https://nixos.org/channels/nixos-22.05 nixos +if [ "$CLUSTER" = "staging" ]; then + cmd nix-channel --add https://nixos.org/channels/nixos-22.11 nixos +else + cmd nix-channel --add https://nixos.org/channels/nixos-22.05 nixos +fi + cmd nix-channel --update cmd nixos-rebuild boot -- cgit v1.2.3