Remove fixed uids for nscd, sshd

These services don't create files on disk, let alone on a network
filesystem, so they don't really need a fixed uid. And this also gets
rid of a warning coming from <= 14.12 systems.
This commit is contained in:
Eelco Dolstra
2015-04-19 22:06:45 +02:00
parent c87977e97d
commit c0f70b4694
3 changed files with 3 additions and 13 deletions
+1 -5
View File
@@ -42,11 +42,7 @@ in
config = mkIf cfg.enable {
users.extraUsers = singleton
{ name = "nscd";
uid = config.ids.uids.nscd;
description = "Name service cache daemon user";
};
users.extraUsers.nscd.description = "Name service cache daemon user";
systemd.services.nscd =
{ description = "Name Service Cache Daemon";