ssh.nix: remove accepted public keys again

This commit is contained in:
Charlie Root 2025-03-05 09:18:17 +01:00
commit 8c2bfa6fca
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -4,10 +4,10 @@ in {
options.modules.programs.ssh.enable = mkEnableOption "ssh"; options.modules.programs.ssh.enable = mkEnableOption "ssh";
config = { config = {
programs.ssh.startAgent = true; programs.ssh.startAgent = true;
programs.ssh.pubkeyAcceptedKeyTypes = [ # programs.ssh.pubkeyAcceptedKeyTypes = [
"ssh-rsa" # "ssh-rsa"
"ecdsa-sha2-nistp521" # "ecdsa-sha2-nistp521"
]; # ];
services.openssh = { services.openssh = {
enable = true; enable = true;