mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
sshd.nix: Ensure global config goes before user Match blocks
Hopefully fixes #13393.
This commit is contained in:
parent
830c2d6389
commit
d9d6a92d5e
@ -304,7 +304,7 @@ in
|
|||||||
services.openssh.authorizedKeysFiles =
|
services.openssh.authorizedKeysFiles =
|
||||||
[ ".ssh/authorized_keys" ".ssh/authorized_keys2" "/etc/ssh/authorized_keys.d/%u" ];
|
[ ".ssh/authorized_keys" ".ssh/authorized_keys2" "/etc/ssh/authorized_keys.d/%u" ];
|
||||||
|
|
||||||
services.openssh.extraConfig =
|
services.openssh.extraConfig = mkOrder 0
|
||||||
''
|
''
|
||||||
PidFile /run/sshd.pid
|
PidFile /run/sshd.pid
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user