diff options
author | Masanori Ogino <167209+omasanori@users.noreply.github.com> | 2020-11-05 16:03:09 +0900 |
---|---|---|
committer | Masanori Ogino <167209+omasanori@users.noreply.github.com> | 2021-01-10 11:01:48 +0900 |
commit | d1d6403cb5023490ac629ef7a3f65796f6b2e789 (patch) | |
tree | 44b9fec11492b7b1657733d8ed206a804e44fa36 /nixos/modules/config | |
parent | 2032339e5bbce8a57655b8742190ecb32b7af863 (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.nix | 4 |
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 |