summaryrefslogtreecommitdiff
path: root/system-profiles/openssh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/openssh/default.nix')
-rw-r--r--system-profiles/openssh/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix
index e60e72d9..774c2f20 100644
--- a/system-profiles/openssh/default.nix
+++ b/system-profiles/openssh/default.nix
@@ -66,11 +66,15 @@ in {
66 services.openssh = mkIf cfg.enable { 66 services.openssh = mkIf cfg.enable {
67 startWhenNeeded = true; 67 startWhenNeeded = true;
68 hostKeys = mkIf cfg.staticHostKeys (mkForce []); # done manually 68 hostKeys = mkIf cfg.staticHostKeys (mkForce []); # done manually
69 authorizedKeysInHomedir = mkDefault false;
69 settings = { 70 settings = {
70 inherit Ciphers Macs KexAlgorithms; 71 inherit Ciphers Macs KexAlgorithms;
71 HostKeyAlgorithms = concatStringsSep "," HostKeyAlgorithms; 72 HostKeyAlgorithms = concatStringsSep "," HostKeyAlgorithms;
72 PubkeyAcceptedAlgorithms = concatStringsSep "," PubkeyAcceptedAlgorithms; 73 PubkeyAcceptedAlgorithms = concatStringsSep "," PubkeyAcceptedAlgorithms;
73 CASignatureAlgorithms = concatStringsSep "," CASignatureAlgorithms; 74 CASignatureAlgorithms = concatStringsSep "," CASignatureAlgorithms;
75 TrustedUserCAKeys = toString (pkgs.writeText "trusted_user_ca_keys" ''
76 ${builtins.readFile ./ca/ca.pub}
77 '');
74 78
75 LogLevel = "VERBOSE"; 79 LogLevel = "VERBOSE";
76 RevokedKeys = toString ./ca/krl.bin; 80 RevokedKeys = toString ./ca/krl.bin;