Add user setup script

This commit is contained in:
soraefir
2026-05-10 21:39:12 +02:00
parent 1b2a724a26
commit 09539b5866
6 changed files with 80 additions and 46 deletions

View File

@@ -57,6 +57,7 @@ in
serviceConfig = {
Type = "oneshot";
TimeoutStartSec = "360s";
EnvironmentFile = lib.mkIf (containerSet.setup.envFile != null) containerSet.setup.envFile;
ExecStart = "${containerSet.setup.script}";
RemainAfterExit = true;
User = "root";