From a2353866a82c4233bb79beda2019eda5e2fad03d Mon Sep 17 00:00:00 2001 From: Thomas Bereknyei Date: Wed, 12 Mar 2014 03:32:56 -0400 Subject: [PATCH] UID/GID fix for kippo --- nixos/modules/misc/ids.nix | 2 ++ nixos/modules/services/networking/kippo.nix | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index e50819d6d001..ad344dfbc110 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -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. diff --git a/nixos/modules/services/networking/kippo.nix b/nixos/modules/services/networking/kippo.nix index 76dd66013ba7..164c38940f77 100644 --- a/nixos/modules/services/networking/kippo.nix +++ b/nixos/modules/services/networking/kippo.nix @@ -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";