summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-15 19:23:51 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-15 19:23:51 +0100
commit7c13b9d78247f6544a18fed87f5833760db48b0f (patch)
tree94cffa7ea5815999d7421023d9b65bb59f378d58
parent6f3c2b3b8aa7bee151bc232fbf266075e49bd132 (diff)
downloadnixos-7c13b9d78247f6544a18fed87f5833760db48b0f.tar
nixos-7c13b9d78247f6544a18fed87f5833760db48b0f.tar.gz
nixos-7c13b9d78247f6544a18fed87f5833760db48b0f.tar.bz2
nixos-7c13b9d78247f6544a18fed87f5833760db48b0f.tar.xz
nixos-7c13b9d78247f6544a18fed87f5833760db48b0f.zip
openssh: ...
-rw-r--r--system-profiles/openssh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix
index 464f6b0f..98f75b94 100644
--- a/system-profiles/openssh/default.nix
+++ b/system-profiles/openssh/default.nix
@@ -18,6 +18,9 @@
18 macs = [ "hmac-sha2-256-etm@openssh.com" "hmac-sha2-256" "hmac-sha2-512-etm@openssh.com" "hmac-sha2-512" ]; 18 macs = [ "hmac-sha2-256-etm@openssh.com" "hmac-sha2-256" "hmac-sha2-512-etm@openssh.com" "hmac-sha2-512" ];
19 kexAlgorithms = [ "curve25519-sha256@libssh.org" "diffie-hellman-group-exchange-sha256" ]; 19 kexAlgorithms = [ "curve25519-sha256@libssh.org" "diffie-hellman-group-exchange-sha256" ];
20 moduliFile = config.sops.secrets.ssh_moduli.path; 20 moduliFile = config.sops.secrets.ssh_moduli.path;
21 extraConfig = ''
22 HostKeyAlgorithms sk-ssh-ed25519-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,ssh-ed25519,rsa-sha2-256,rsa-sha2-512
23 '';
21 }; 24 };
22 25
23 programs.ssh = { 26 programs.ssh = {