nixos-config/config/programs/ssh.nix

22 lines
472 B
Nix
Raw Normal View History

2022-04-13 09:59:45 +00:00
{ ... }: {
programs.ssh = {
enable = true;
2022-04-13 10:33:50 +00:00
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";
};
2022-04-13 09:59:45 +00:00
};
};
}