UID/GID fix for kippo

This commit is contained in:
Thomas Bereknyei 2014-03-12 03:32:56 -04:00
parent ef825eaca7
commit a2353866a8
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";