Secrets: fix

This commit is contained in:
blahai 2025-01-27 17:22:01 +02:00
parent 861a864f93
commit 35e372a025
No known key found for this signature in database
5 changed files with 23 additions and 8 deletions

View file

@ -14,7 +14,7 @@ in {
# to decrypt the secrets
identityPaths = [
"/etc/ssh/ssh_host_ed25519_key"
"${sshDir}/id_ed25519"
#"${sshDir}/id_ed25519"
];
};
}

View file

@ -10,5 +10,18 @@
};
openFirewall = true;
ports = [22];
hostKeys = [
{
bits = 4096;
path = "/etc/ssh/ssh_host_rsa_key";
type = "rsa";
}
{
bits = 4096;
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
}