forked from mirrors/nixpkgs
UID/GID fix for kippo
This commit is contained in:
parent
ef825eaca7
commit
a2353866a8
|
@ -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.
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue