nixos/nomad: remove User setting entirely

This commit is contained in:
Phillip Cloud 2021-01-23 19:44:28 -05:00
parent 2a3cb407b0
commit c7c3b9e4ae

View file

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