summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-02-13 22:26:21 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-02-15 23:25:27 +0100
commitd4e5bb34b76c98adee1d7fc00440adeb6a2a8c13 (patch)
treeb9ff819b8bc4e124df3ee77f53fde0ea7f1fabf8 /nixos/modules/misc
parent900fc49013c83e39ed7b22260d15a616a939b32e (diff)
downloadnixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar.gz
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar.bz2
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar.lz
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar.xz
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.tar.zst
nixpkgs-d4e5bb34b76c98adee1d7fc00440adeb6a2a8c13.zip
nixos/geoip-updater: run as user 'geoip' instead of 'nobody'
That way 'nobody' is prevented from messing with the databases.
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/ids.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 1566dbe1677..d51b29b99da 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -287,6 +287,7 @@
       pdns-recursor = 269;
       kresd = 270;
       rpc = 271;
+      geoip = 272;
 
       # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
 
@@ -543,6 +544,7 @@
       gogs = 268;
       kresd = 270;
       #rpc = 271; # unused
+      #geoip = 272; # unused
 
       # When adding a gid, make sure it doesn't match an existing
       # uid. Users and groups with the same name should have equal