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

View File

@ -76,6 +76,8 @@ in {
serviceConfig.ExecStart = pkgs.writers.writeDash "autoswitch" ctr.startCommand; serviceConfig.ExecStart = pkgs.writers.writeDash "autoswitch" ctr.startCommand;
unitConfig.X-StopOnRemoval = false; unitConfig.X-StopOnRemoval = false;
}; };
# get rid of stateVersion not set warning;
system.stateVersion = config.system.nixos.release;
}; };
autoStart = false; autoStart = false;
enableTun = true; enableTun = true;