diff options
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2103.xml | 6 | ||||
-rw-r--r-- | nixos/modules/config/networking.nix | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml index 9070957aee4a..d08f81eaf701 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -509,6 +509,12 @@ http://some.json-exporter.host:7979/probe?target=https://example.com/some/json/e The GNOME desktop manager once again installs <package>gnome3.epiphany</package> by default. </para> </listitem> + <listitem> + <para> + NixOS now generates empty <literal>/etc/netgroup</literal>. + <literal>/etc/netgroup</literal> defines network-wide groups and may affect to setups using NIS. + </para> + </listitem> </itemizedlist> </section> </section> diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index 4cb7d81c9972..c09588834cf1 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 |