about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorMasanori Ogino <167209+omasanori@users.noreply.github.com>2020-11-05 16:03:09 +0900
committerMasanori Ogino <167209+omasanori@users.noreply.github.com>2021-01-10 11:01:48 +0900
commitd1d6403cb5023490ac629ef7a3f65796f6b2e789 (patch)
tree44b9fec11492b7b1657733d8ed206a804e44fa36 /nixos/modules/config
parent2032339e5bbce8a57655b8742190ecb32b7af863 (diff)
nixos/networking: make /etc/netgroup by default
This will prevent nscd from complaining /etc/netgroup being absent.

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/networking.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index 4cb7d81c99729..c09588834cf15 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -193,6 +193,10 @@ in
           cat ${escapeShellArgs cfg.hostFiles} > $out
         '';
 
+        # /etc/netgroup: Network-wide groups.
+        netgroup.text = mkDefault ''
+        '';
+
         # /etc/host.conf: resolver configuration file
         "host.conf".text = ''
           multi on