summary refs log tree commit diff
path: root/modules/services/networking/oidentd.nix
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2013-08-26 15:20:25 +0200
committerRickard Nilsson <rickynils@gmail.com>2013-08-26 15:20:25 +0200
commitb0b5e08e8662bf1d76463cd7300bba2f7d20ff7e (patch)
treeb4f5bb96df43672deb1a3bb7c1be1455bb5a2f73 /modules/services/networking/oidentd.nix
parent7f7208663d18285838a674bda4eba9184a8f7db8 (diff)
downloadnixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar.gz
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar.bz2
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar.lz
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar.xz
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.tar.zst
nixpkgs-b0b5e08e8662bf1d76463cd7300bba2f7d20ff7e.zip
Add some more missing uids/gids
Diffstat (limited to 'modules/services/networking/oidentd.nix')
-rw-r--r--modules/services/networking/oidentd.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/services/networking/oidentd.nix b/modules/services/networking/oidentd.nix
index d730e99af89..a2a555a8ad1 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;
 
   };