nixos: Assign uid/gid to dictd's service user.

This commit is contained in:
Petr Rockai 2014-02-21 12:40:05 +01:00
parent 351f704091
commit f21abed131
2 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,7 @@
munin = 102;
logcheck = 103;
nix-ssh = 104;
dictd = 105;
# When adding a uid, make sure it doesn't match an existing gid.
@ -204,6 +205,7 @@
connman = 94;
munin = 95;
keys = 96;
dictd = 105;
# When adding a gid, make sure it doesn't match an existing uid.

View File

@ -43,10 +43,12 @@ with pkgs.lib;
group = "dictd";
description = "DICT.org dictd server";
home = "${dictdb}/share/dictd";
uid = config.ids.uids.dictd;
};
users.extraGroups = singleton
{ name = "dictd";
gid = config.ids.gids.dictd;
};
jobs.dictd =