aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-11 22:37:28 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-11 22:37:28 +0100
commit578075a9252435aaed12d2535577e18e053cd916 (patch)
treec441183d35ae1c23e30abd722322124d87f03136 /cluster/prod
parent36e6756b3c72c3170255a9676ab3cf6f08eb1218 (diff)
downloadnixcfg-578075a9252435aaed12d2535577e18e053cd916.tar.gz
nixcfg-578075a9252435aaed12d2535577e18e053cd916.zip
Add origan node in staging cluster (+ refactor system.stateVersion)
Diffstat (limited to 'cluster/prod')
-rw-r--r--cluster/prod/cluster.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index 95391ac..59fbcb5 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -117,4 +117,10 @@
# For Garage external communication
networking.firewall.allowedTCPPorts = [ 3901 ];
+
+ # All prod nodes were deployed on the same version.
+ # This could be put in individual node .nix files if we deploy
+ # newer nodes on a different system version, OR we can bump this
+ # regularly cluster-wide
+ system.stateVersion = "21.05";
}