Skip to content
Snippets Groups Projects
Commit 0ff7d0c4 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Make sure to control stateVersion.

And account for the odd-host-out. :/  See if you can spot it.
parent fd66586d
No related branches found
No related tags found
No related merge requests found
......@@ -19,26 +19,32 @@ import ./make-grid.nix {
"storage000" = import ./make-storage.nix ({
cfg = import ./storage000-config.nix;
hardware = ./storage000-hardware.nix;
stateVersion = "19.09";
} // cfg);
"storage001" = import ./make-storage.nix ({
cfg = import ./storage001-config.nix;
hardware = ./storage001-hardware.nix;
stateVersion = "19.09";
} // cfg);
"storage002" = import ./make-storage.nix ({
cfg = import ./storage002-config.nix;
hardware = ./storage002-hardware.nix;
stateVersion = "19.09";
} // cfg);
"storage003" = import ./make-storage.nix ({
cfg = import ./storage003-config.nix;
hardware = ./storage003-hardware.nix;
stateVersion = "19.09";
} // cfg);
"storage004" = import ./make-storage.nix ({
cfg = import ./storage004-config.nix;
hardware = ./storage004-hardware.nix;
stateVersion = "19.09";
} // cfg);
"storage005" = import ./make-storage.nix ({
cfg = import ./storage005-config.nix;
hardware = ./storage005-hardware.nix;
stateVersion = "19.03";
} // cfg);
};
}
......@@ -3,6 +3,13 @@
, hardware # The path to the hardware configuration for this node.
, publicStoragePort # The storage port number on which to accept connections.
, ristrettoSigningKeyPath # The *local* path to the Ristretto signing key file.
, stateVersion # The value for system.stateVersion on this node.
# This value determines the NixOS release with
# which your system is to be compatible, in order
# to avoid breaking some software such as
# database servers. You should change this only
# after NixOS release notes say you should.
}: rec {
deployment = {
secrets = {
......@@ -51,9 +58,5 @@
ristrettoSigningKeyPath = deployment.secrets.ristretto-signing-key.destination;
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.09"; # Did you read the comment?
system.stateVersion = stateVersion;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment