summary refs log tree commit diff
path: root/nixos/modules/services/networking/nomad.nix
diff options
context:
space:
mode:
authorPhillip Cloud <cloud@standard.ai>2021-01-19 07:24:04 -0500
committerPhillip Cloud <cloud@standard.ai>2021-01-23 19:44:37 -0500
commit12b9249cf3cf4024b9ac4956e577126163110755 (patch)
treeaf97c41e6882f3679647c912b93ab54b9cc38ad1 /nixos/modules/services/networking/nomad.nix
parent5d0b3b7228b6a89033adb7df07db82efb7951b6f (diff)
downloadnixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar.gz
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar.bz2
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar.lz
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar.xz
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.tar.zst
nixpkgs-12b9249cf3cf4024b9ac4956e577126163110755.zip
nixos/nomad: unconditionally set user to nomad
Diffstat (limited to 'nixos/modules/services/networking/nomad.nix')
-rw-r--r--nixos/modules/services/networking/nomad.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix
index 7951930c3a1..571baf67154 100644
--- a/nixos/modules/services/networking/nomad.nix
+++ b/nixos/modules/services/networking/nomad.nix
@@ -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