nix/programs/ssh.nix
2024-06-15 22:06:23 +02:00

19 lines
321 B
Nix

{...}:
{
enable = true;
matchBlocks = {
"github.com" = {
user = "git";
identityFile = "~/.ssh/github";
};
"192.168.1.12" = {
identityFile = "~/.ssh/raspi";
};
"git.jacekpoz.pl" = {
port = 8236;
user = "forgejo";
identityFile = "~/.ssh/jacekgit";
};
};
}