From bfaedfbd1790f23cb4594b150c56420fcfeb3474 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 21 Jun 2022 18:32:15 +0200 Subject: [PATCH] add system.stateVersion to all the containers that still miss it --- hosts/containers/bind/default.nix | 2 ++ hosts/containers/blogs/default.nix | 1 + hosts/containers/c3d2-web/default.nix | 1 + hosts/containers/matemat/default.nix | 2 ++ hosts/containers/mobilizon/default.nix | 1 + hosts/containers/nncp/default.nix | 2 ++ hosts/containers/sdrweb/default.nix | 2 ++ 7 files changed, 11 insertions(+) diff --git a/hosts/containers/bind/default.nix b/hosts/containers/bind/default.nix index 16139dd9..fce44ab8 100644 --- a/hosts/containers/bind/default.nix +++ b/hosts/containers/bind/default.nix @@ -15,6 +15,8 @@ in }; }; + system.stateVersion = "22.05"; + networking.hostName = "bind"; networking.firewall.allowedTCPPorts = [ diff --git a/hosts/containers/blogs/default.nix b/hosts/containers/blogs/default.nix index 12272785..6bdedd6e 100644 --- a/hosts/containers/blogs/default.nix +++ b/hosts/containers/blogs/default.nix @@ -5,6 +5,7 @@ server = "server10"; mounts = [ "etc" "home" "var"]; }; + system.stateVersion = "22.05"; networking = { hostName = "blogs"; firewall.allowedTCPPorts = [ diff --git a/hosts/containers/c3d2-web/default.nix b/hosts/containers/c3d2-web/default.nix index 3fc0a5bd..2a695f70 100644 --- a/hosts/containers/c3d2-web/default.nix +++ b/hosts/containers/c3d2-web/default.nix @@ -11,6 +11,7 @@ in mounts = [ "etc" "home" "var"]; }; boot.tmpOnTmpfs = true; + system.stateVersion = "22.05"; # Network setup networking.hostName = "c3d2-web"; networking.firewall.allowedTCPPorts = [ diff --git a/hosts/containers/matemat/default.nix b/hosts/containers/matemat/default.nix index 99c1af42..b21e1152 100644 --- a/hosts/containers/matemat/default.nix +++ b/hosts/containers/matemat/default.nix @@ -10,6 +10,8 @@ microvm.mem = 2 * 1024; + system.stateVersion = "22.05"; + networking = { hostName = "matemat"; firewall.allowedTCPPorts = [ 80 443 ]; diff --git a/hosts/containers/mobilizon/default.nix b/hosts/containers/mobilizon/default.nix index ac673bc7..7d934adb 100644 --- a/hosts/containers/mobilizon/default.nix +++ b/hosts/containers/mobilizon/default.nix @@ -6,6 +6,7 @@ server = "server10"; mounts = [ "etc" "home" "var"]; }; + system.stateVersion = "22.05"; networking = { hostName = "mobilizon"; firewall.allowedTCPPorts = [ 80 443 ]; diff --git a/hosts/containers/nncp/default.nix b/hosts/containers/nncp/default.nix index 52416a8b..b2570b0c 100644 --- a/hosts/containers/nncp/default.nix +++ b/hosts/containers/nncp/default.nix @@ -17,6 +17,8 @@ autoNetSetup = false; }; + system.stateVersion = "22.05"; + networking = { hostName = "nncp"; firewall.enable = false; diff --git a/hosts/containers/sdrweb/default.nix b/hosts/containers/sdrweb/default.nix index 25376dab..969bcbd6 100644 --- a/hosts/containers/sdrweb/default.nix +++ b/hosts/containers/sdrweb/default.nix @@ -10,6 +10,8 @@ }; }; + system.stateVersion = "22.05"; + networking.hostName = "sdrweb"; # http https