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:
@@ -281,10 +281,8 @@ in
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.extraUsers = singleton
|
||||
{ name = "sshd";
|
||||
uid = config.ids.uids.sshd;
|
||||
description = "SSH privilege separation user";
|
||||
users.extraUsers.sshd =
|
||||
{ description = "SSH privilege separation user";
|
||||
home = "/var/empty";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user