Merge pull request #1926 from tomberek/kippo_uid_fix

UID/GID fix for kippo
This commit is contained in:
Domen Kožar 2014-03-12 23:34:39 +01:00
commit df242d0d79
2 changed files with 4 additions and 1 deletions

View file

@ -116,6 +116,7 @@
dictd = 105;
couchdb = 106;
searx = 107;
kippo = 108;
# When adding a uid, make sure it doesn't match an existing gid.
@ -210,6 +211,7 @@
dictd = 105;
couchdb = 106;
searx = 107;
kippo = 108;
# When adding a gid, make sure it doesn't match an existing uid.

View file

@ -76,8 +76,9 @@ rec {
users.extraUsers = singleton {
name = "kippo";
description = "kippo web server privilege separation user";
uid = 108; # why does config.ids.uids.kippo give an error?
};
users.extraGroups = singleton { name = "kippo"; };
users.extraGroups = singleton { name = "kippo";gid=108; };
systemd.services.kippo = with pkgs; {
description = "Kippo Web Server";