From a89f923b1aa86a1fa6352d2dceb1bc8124a0ced7 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 17 Mar 2024 10:04:32 +0100 Subject: [PATCH] sync-containers3: get rid of stateVersion warning --- krebs/3modules/sync-containers3.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/krebs/3modules/sync-containers3.nix b/krebs/3modules/sync-containers3.nix index ed72ca30c..12a5ee4e7 100644 --- a/krebs/3modules/sync-containers3.nix +++ b/krebs/3modules/sync-containers3.nix @@ -76,6 +76,8 @@ in { serviceConfig.ExecStart = pkgs.writers.writeDash "autoswitch" ctr.startCommand; unitConfig.X-StopOnRemoval = false; }; + # get rid of stateVersion not set warning; + system.stateVersion = config.system.nixos.release; }; autoStart = false; enableTun = true;