niksos/hosts/work/ssh.nix
2024-09-02 11:26:34 +02:00

18 lines
470 B
Nix

{
inputs,
...
}: {
poz.services.ssh = {
daemon.enable = false;
agent = {
enable = true;
hostAliases = {
jacekpoz = {
hostName = "git.jacekpoz.pl";
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmtUtuo1d1QT4w4SeefWQq7DYxPWqixf4wBE8usAYlY";
user = "forgejo";
};
} // inputs.work-secrets.ssh;
};
};
}