From 941f29cbee2babf40b259e85bd57b14a46c72cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 23 Oct 2022 11:22:19 +0100 Subject: [PATCH] set state version explicitly --- nixos/boxes/vpsfree1/fossil.nix | 1 + nixos/boxes/vpsfree1/foundryvtt.nix | 2 ++ nixos/boxes/vpsfree1/rss.nix | 1 + 3 files changed, 4 insertions(+) diff --git a/nixos/boxes/vpsfree1/fossil.nix b/nixos/boxes/vpsfree1/fossil.nix index 4d1efcad..eb25a209 100644 --- a/nixos/boxes/vpsfree1/fossil.nix +++ b/nixos/boxes/vpsfree1/fossil.nix @@ -34,6 +34,7 @@ in { user = "fossil"; group = "fossil"; in { + system.stateVersion = "22.05"; environment.systemPackages = [ pkgs.fossil ]; users.groups = { "${group}" = { }; }; users.users = { diff --git a/nixos/boxes/vpsfree1/foundryvtt.nix b/nixos/boxes/vpsfree1/foundryvtt.nix index b07ff68d..3c1dd777 100644 --- a/nixos/boxes/vpsfree1/foundryvtt.nix +++ b/nixos/boxes/vpsfree1/foundryvtt.nix @@ -47,6 +47,7 @@ in { }; }; config = { config, pkgs, ... }: { + system.stateVersion = "22.05"; systemd.services."foundryvtt" = { requires = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; @@ -65,6 +66,7 @@ in { hostPort = 30001; }]; config = { config, pkgs, ... }: { + system.stateVersion = "22.05"; systemd.services."foundryvtt" = { requires = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; diff --git a/nixos/boxes/vpsfree1/rss.nix b/nixos/boxes/vpsfree1/rss.nix index c35efea6..2b51a3af 100644 --- a/nixos/boxes/vpsfree1/rss.nix +++ b/nixos/boxes/vpsfree1/rss.nix @@ -26,6 +26,7 @@ in { root = config.services.tt-rss.root; pool = config.services.tt-rss.pool; in rec { + system.stateVersion = "22.05"; services.tt-rss = { enable = true; selfUrlPath = "https://${domain}";