about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorArian van Putten <aeroboy94@gmail.com>2018-11-16 15:08:01 +0100
committerArian van Putten <aeroboy94@gmail.com>2018-12-12 15:35:40 +0100
commita74619c1ae5348a5b7cd0dc3b6ca6e0166086098 (patch)
treefb6d1a6aea89c977b99214140ef8dde45076e04a /nixos
parentde76c16f9c277c0a104ca7f9fa8d8be46ada6c9a (diff)
downloadnixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar.gz
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar.bz2
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar.lz
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar.xz
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.tar.zst
nixlib-a74619c1ae5348a5b7cd0dc3b6ca6e0166086098.zip
nixos/nscd: also add netgroup to the config
It was the last database that wasn't listed.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/system/nscd.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/system/nscd.conf b/nixos/modules/services/system/nscd.conf
index 304be0942dc4..ce583816e156 100644
--- a/nixos/modules/services/system/nscd.conf
+++ b/nixos/modules/services/system/nscd.conf
@@ -19,6 +19,14 @@ check-files             group           yes
 persistent              group           no
 shared                  group           yes
 
+enable-cache            netgroup        yes
+positive-time-to-live   netgroup        0
+negative-time-to-live   netgroup        0
+suggested-size          netgroup        211
+check-files             netgroup        yes
+persistent              netgroup        no
+shared                  netgroup        yes
+
 enable-cache            hosts           yes
 positive-time-to-live   hosts           600
 negative-time-to-live   hosts           0