forked from mirrors/nixpkgs
nixos: add release notes about users.users.name.group
This commit is contained in:
parent
bc3bca822a
commit
476fcfd2aa
|
@ -324,6 +324,33 @@ Superuser created successfully.
|
|||
notes</link>).
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<link xlink:href="options.html#opt-users.users._name_.group">users.users.<name>.group</link>
|
||||
no longer defaults to <literal>nogroup</literal>, which was
|
||||
insecure. Out-of-tree modules are likely to require
|
||||
adaptation: instead of
|
||||
</para>
|
||||
<programlisting language="bash">
|
||||
{
|
||||
users.users.foo = {
|
||||
isSystemUser = true;
|
||||
};
|
||||
}
|
||||
</programlisting>
|
||||
<para>
|
||||
also create a group for your user:
|
||||
</para>
|
||||
<programlisting language="bash">
|
||||
{
|
||||
users.users.foo = {
|
||||
isSystemUser = true;
|
||||
group = "foo";
|
||||
};
|
||||
users.groups.foo = {};
|
||||
}
|
||||
</programlisting>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>services.geoip-updater</literal> was broken and has
|
||||
|
|
|
@ -120,6 +120,25 @@ subsonic-compatible api. Available as [navidrome](#opt-services.navidrome.enable
|
|||
|
||||
- The `erigon` ethereum node has moved it's database location in `2021-08-03`, users upgrading must manually move their chaindata (see [release notes](https://github.com/ledgerwatch/erigon/releases/tag/v2021.08.03)).
|
||||
|
||||
- [users.users.<name>.group](options.html#opt-users.users._name_.group) no longer defaults to `nogroup`, which was insecure. Out-of-tree modules are likely to require adaptation: instead of
|
||||
```nix
|
||||
{
|
||||
users.users.foo = {
|
||||
isSystemUser = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
also create a group for your user:
|
||||
```nix
|
||||
{
|
||||
users.users.foo = {
|
||||
isSystemUser = true;
|
||||
group = "foo";
|
||||
};
|
||||
users.groups.foo = {};
|
||||
}
|
||||
```
|
||||
|
||||
- `services.geoip-updater` was broken and has been replaced by [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
|
||||
|
||||
- PHP 7.3 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 21.11 release.
|
||||
|
|
Loading…
Reference in a new issue