sync-containers3: get rid of stateVersion warning

This commit is contained in:
lassulus 2024-03-17 10:04:32 +01:00
parent 9e2fe26517
commit a89f923b1a
1 changed files with 2 additions and 0 deletions

View File

@ -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;