summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorThomas Bereknyei <tomberek@gmail.com>2014-03-12 03:32:56 -0400
committerThomas Bereknyei <tomberek@gmail.com>2014-03-12 03:32:56 -0400
commita2353866a82c4233bb79beda2019eda5e2fad03d (patch)
treea462776e1dab509161d80afb17521218b1a272c5 /nixos/modules
parentef825eaca72a66c8e1f7be562938fbaefc8de874 (diff)
downloadnixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar.gz
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar.bz2
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar.lz
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar.xz
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.tar.zst
nixlib-a2353866a82c4233bb79beda2019eda5e2fad03d.zip
UID/GID fix for kippo
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/misc/ids.nix2
-rw-r--r--nixos/modules/services/networking/kippo.nix3
2 files changed, 4 insertions, 1 deletions
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";