nixos/sshd: Disable authorizedKeysInHomedir if stateVersion >= 24.11

Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
This commit is contained in:
nicoo
2024-01-09 23:50:13 +00:00
parent c1c89b84e7
commit 1f08575e3a
3 changed files with 14 additions and 3 deletions

View File

@@ -390,6 +390,9 @@
* from `/var/log/private/gns3` to `/var/log/gns3`
and to change the ownership of these directories and their contents to `gns3` (including `/etc/gns3`).
- The `sshd` module now doesn't include `%h/.ssh/authorized_keys` as `AuthorizedKeysFile` unless
`services.openssh.authorizedKeysInHomedir` is set to `true` (the default is `false` for `stateVersion` 24.11 onwards).
- Legacy package `stalwart-mail_0_6` was dropped, please note the
[manual upgrade process](https://github.com/stalwartlabs/mail-server/blob/main/UPGRADING.md)
before changing the package to `pkgs.stalwart-mail` in