aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/system
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2019-07-06 09:24:49 -0700
committerJamey Sharp <jamey@minilop.net>2019-07-06 09:24:49 -0700
commitc38fa99757baec0ba04c41985783b6f63a58ced2 (patch)
tree0dea43c13581f4743c42dc5dd0d7c3fb73a58eb7 /nixos/modules/services/system
parent4c64375e91ca400c646316ae2da8d3603aebfb9c (diff)
nixos/nscd: don't need to specify username
Thanks to @arianvp for pointing out that when DynamicUser is true, systemd defaults the value of User to be the name of the unit, which in this case is already "nscd".
Diffstat (limited to 'nixos/modules/services/system')
-rw-r--r--nixos/modules/services/system/nscd.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/system/nscd.nix b/nixos/modules/services/system/nscd.nix
index cf034caa128..d094e9893ff 100644
--- a/nixos/modules/services/system/nscd.nix
+++ b/nixos/modules/services/system/nscd.nix
@@ -55,7 +55,6 @@ in
serviceConfig =
{ ExecStart = "@${pkgs.glibc.bin}/sbin/nscd nscd";
Type = "forking";
- User = "nscd";
DynamicUser = true;
RuntimeDirectory = "nscd";
PIDFile = "/run/nscd/nscd.pid";