nixos-config/config/programs/ssh.nix

21 lines
472 B
Nix

{ ... }: {
programs.ssh = {
enable = true;
matchBlocks = {
"build-nas" = {
hostname = "backup.int.chir.rs";
identitiesOnly = true;
identityFile = "~/.ssh/id_ed25519";
port = 22;
user = "darkkirb";
};
"build-pc" = {
hostname = "nutty-noon.int.chir.rs";
identitiesOnly = true;
identityFile = "~/.ssh/id_ed25519";
port = 22;
user = "darkkirb";
};
};
};
}