diff options
author | lassulus <git@lassul.us> | 2024-03-17 10:04:32 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2024-03-17 10:15:40 +0100 |
commit | a89f923b1aa86a1fa6352d2dceb1bc8124a0ced7 (patch) | |
tree | 59837da35eea20099cbc468d0be5e916c41ac2c8 | |
parent | 9e2fe26517619d63df983ad0557c6554d2c6f280 (diff) |
sync-containers3: get rid of stateVersion warning
-rw-r--r-- | krebs/3modules/sync-containers3.nix | 2 |
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; |