diff options
Diffstat (limited to 'system-profiles/openssh/default.nix')
-rw-r--r-- | system-profiles/openssh/default.nix | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix index df272f04..af4fb4ee 100644 --- a/system-profiles/openssh/default.nix +++ b/system-profiles/openssh/default.nix | |||
@@ -57,71 +57,6 @@ in { | |||
57 | type = types.bool; | 57 | type = types.bool; |
58 | default = pathExists (./host-keys + "/${hostName}.yaml"); | 58 | default = pathExists (./host-keys + "/${hostName}.yaml"); |
59 | }; | 59 | }; |
60 | settings.HostKeyAlgorithms = mkOption { | ||
61 | type = types.listOf types.str; | ||
62 | default = [ | ||
63 | "ssh-ed25519" | ||
64 | "ssh-ed25519-cert-v01@openssh.com" | ||
65 | "sk-ssh-ed25519@openssh.com" | ||
66 | "sk-ssh-ed25519-cert-v01@openssh.com" | ||
67 | "ecdsa-sha2-nistp256" | ||
68 | "ecdsa-sha2-nistp256-cert-v01@openssh.com" | ||
69 | "ecdsa-sha2-nistp384" | ||
70 | "ecdsa-sha2-nistp384-cert-v01@openssh.com" | ||
71 | "ecdsa-sha2-nistp521" | ||
72 | "ecdsa-sha2-nistp521-cert-v01@openssh.com" | ||
73 | "sk-ecdsa-sha2-nistp256@openssh.com" | ||
74 | "sk-ecdsa-sha2-nistp256-cert-v01@openssh.com" | ||
75 | "webauthn-sk-ecdsa-sha2-nistp256@openssh.com" | ||
76 | "ssh-dss" | ||
77 | "ssh-dss-cert-v01@openssh.com" | ||
78 | "ssh-rsa" | ||
79 | "ssh-rsa-cert-v01@openssh.com" | ||
80 | "rsa-sha2-256" | ||
81 | "rsa-sha2-256-cert-v01@openssh.com" | ||
82 | "rsa-sha2-512" | ||
83 | "rsa-sha2-512-cert-v01@openssh.com" | ||
84 | ]; | ||
85 | }; | ||
86 | settings.CASignatureAlgorithms = mkOption { | ||
87 | type = types.listOf types.str; | ||
88 | default = [ | ||
89 | "ssh-ed25519" | ||
90 | "ecdsa-sha2-nistp256" | ||
91 | "ecdsa-sha2-nistp384" | ||
92 | "ecdsa-sha2-nistp521" | ||
93 | "sk-ssh-ed25519@openssh.com" | ||
94 | "sk-ecdsa-sha2-nistp256@openssh.com" | ||
95 | "rsa-sha2-512" | ||
96 | "rsa-sha2-256" | ||
97 | ]; | ||
98 | }; | ||
99 | settings.PubkeyAcceptedAlgorithms = mkOption { | ||
100 | type = types.listOf types.str; | ||
101 | default = [ | ||
102 | "ssh-ed25519" | ||
103 | "ssh-ed25519-cert-v01@openssh.com" | ||
104 | "sk-ssh-ed25519@openssh.com" | ||
105 | "sk-ssh-ed25519-cert-v01@openssh.com" | ||
106 | "ecdsa-sha2-nistp256" | ||
107 | "ecdsa-sha2-nistp256-cert-v01@openssh.com" | ||
108 | "ecdsa-sha2-nistp384" | ||
109 | "ecdsa-sha2-nistp384-cert-v01@openssh.com" | ||
110 | "ecdsa-sha2-nistp521" | ||
111 | "ecdsa-sha2-nistp521-cert-v01@openssh.com" | ||
112 | "sk-ecdsa-sha2-nistp256@openssh.com" | ||
113 | "sk-ecdsa-sha2-nistp256-cert-v01@openssh.com" | ||
114 | "webauthn-sk-ecdsa-sha2-nistp256@openssh.com" | ||
115 | "ssh-dss" | ||
116 | "ssh-dss-cert-v01@openssh.com" | ||
117 | "ssh-rsa" | ||
118 | "ssh-rsa-cert-v01@openssh.com" | ||
119 | "rsa-sha2-256" | ||
120 | "rsa-sha2-256-cert-v01@openssh.com" | ||
121 | "rsa-sha2-512" | ||
122 | "rsa-sha2-512-cert-v01@openssh.com" | ||
123 | ]; | ||
124 | }; | ||
125 | }; | 60 | }; |
126 | }; | 61 | }; |
127 | 62 | ||