git.iko.soy/typeable/nixpkgs
on master help sign in
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".

commitc38fa99757baec0ba04c41985783b6f63a58ced2 authorJamey Sharp <jamey@minilop.net> dateSat 6 Jul 2019, 09:24 (7 years ago) parent4c64375
1 file changed−1
nixos/modules/services/system/nscd.nix−1
nixos/modules/services/system/nscd.nix−1
@@ -55,7 +55,6 @@ in
5555 serviceConfig =
5656 { ExecStart = "@${pkgs.glibc.bin}/sbin/nscd nscd";
5757 Type = "forking";
58− User = "nscd";
5958 DynamicUser = true;
6059 RuntimeDirectory = "nscd";
6160 PIDFile = "/run/nscd/nscd.pid";