summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2024-03-17 10:04:32 +0100
committerlassulus <git@lassul.us>2024-03-17 10:15:40 +0100
commita89f923b1aa86a1fa6352d2dceb1bc8124a0ced7 (patch)
tree59837da35eea20099cbc468d0be5e916c41ac2c8 /krebs/3modules
parent9e2fe26517619d63df983ad0557c6554d2c6f280 (diff)
sync-containers3: get rid of stateVersion warning
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/sync-containers3.nix2
1 files changed, 2 insertions, 0 deletions
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;