sshd.nix: Ensure global config goes before user Match blocks

Hopefully fixes #13393.
This commit is contained in:
Eelco Dolstra 2016-02-23 18:03:33 +01:00
parent 830c2d6389
commit d9d6a92d5e

View file

@ -304,7 +304,7 @@ in
services.openssh.authorizedKeysFiles =
[ ".ssh/authorized_keys" ".ssh/authorized_keys2" "/etc/ssh/authorized_keys.d/%u" ];
services.openssh.extraConfig =
services.openssh.extraConfig = mkOrder 0
''
PidFile /run/sshd.pid