diff options
Diffstat (limited to 'modules/services/networking/oidentd.nix')
-rw-r--r-- | modules/services/networking/oidentd.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/services/networking/oidentd.nix b/modules/services/networking/oidentd.nix index d730e99af89a..a2a555a8ad1b 100644 --- a/modules/services/networking/oidentd.nix +++ b/modules/services/networking/oidentd.nix @@ -31,10 +31,13 @@ with pkgs.lib; exec = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup"; }; - users.extraUsers = singleton - { name = "oidentd"; - description = "Ident Protocol daemon user"; - }; + users.extraUsers.oidentd = { + description = "Ident Protocol daemon user"; + group = "oidentd"; + uid = config.ids.uids.oidentd; + }; + + users.extraGroups.oidentd.gid = config.ids.gids.oidentd; }; |