summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-23 18:03:33 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-23 18:03:33 +0100
commitd9d6a92d5eb6957b6987ee22e957f1b725966653 (patch)
treec95bd91dfb334e3e278a21071465381816a38aa1 /nixos
parent830c2d638911b35ca8a844d630481d5179bfa050 (diff)
downloadnixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar.gz
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar.bz2
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar.lz
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar.xz
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.tar.zst
nixpkgs-d9d6a92d5eb6957b6987ee22e957f1b725966653.zip
sshd.nix: Ensure global config goes before user Match blocks
Hopefully fixes #13393.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ssh/sshd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix
index ba3efc8c0c2..20a1777f3cc 100644
--- a/nixos/modules/services/networking/ssh/sshd.nix
+++ b/nixos/modules/services/networking/ssh/sshd.nix
@@ -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