r
Radicle
Git
{
pkgs,
config,
lib,
...
}: {
services = {
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
};
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
sshguard.enable = true;
};
sops.age.sshKeyPaths = map (x: x.path) config.services.openssh.hostKeys;
}