3
0
Fork 0
forked from mirrors/nixpkgs

nixos/nomad: unconditionally set user to nomad

This commit is contained in:
Phillip Cloud 2021-01-19 07:24:04 -05:00
parent 5d0b3b7228
commit 12b9249cf3

View file

@ -137,7 +137,7 @@ in
Restart = "on-failure";
RestartSec = 2;
TasksMax = "infinity";
User = optionalString cfg.dropPrivileges "nomad";
User = "nomad";
}
(mkIf cfg.enableDocker {
SupplementaryGroups = "docker"; # space-separated string