mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
Ensure that nscd, sshd are created as system users
c0f70b4694
removed the fixed uid
assignment, but then it becomes necessary to set isSystemUser.
http://hydra.nixos.org/build/22182588
This commit is contained in:
parent
cb6b9c52aa
commit
fc8011ad8d
2 changed files with 6 additions and 3 deletions
|
@ -42,7 +42,10 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.extraUsers.nscd.description = "Name service cache daemon user";
|
||||
users.extraUsers.nscd =
|
||||
{ isSystemUser = true;
|
||||
description = "Name service cache daemon user";
|
||||
};
|
||||
|
||||
systemd.services.nscd =
|
||||
{ description = "Name Service Cache Daemon";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue