diff options
author | Florian Klink <flokli@flokli.de> | 2021-01-10 23:01:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 23:01:12 +0100 |
commit | 581232454fdf0d57507ebf148b495ce40ca2eb90 (patch) | |
tree | 46e448eff31b67069218abb9ba966c1b549fa166 /nixos | |
parent | d68b34650f2e39ea0544c4f554fcfb463659dac3 (diff) | |
parent | d1d6403cb5023490ac629ef7a3f65796f6b2e789 (diff) |
Merge pull request #108726 from omasanori/nixos/netgroup
nixos/networking: make /etc/netgroup by default
Diffstat (limited to 'nixos')
-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 6ef522e9fcef2..38bf69afa8b60 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -558,6 +558,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 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 |