Merge pull request #108726 from omasanori/nixos/netgroup

nixos/networking: make /etc/netgroup by default
This commit is contained in:
Florian Klink 2021-01-10 23:01:12 +01:00 committed by GitHub
commit 581232454f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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