nix/programs/ssh.nix
2024-06-21 17:54:41 +02:00

25 lines
456 B
Nix

{...}:
{
enable = true;
matchBlocks = {
"github.com" = {
user = "git";
identityFile = "~/.ssh/github";
};
"192.168.1.12" = {
identityFile = "~/.ssh/raspi";
};
"git.jacekpoz.pl" = {
user = "forgejo";
identityFile = "~/.ssh/jacekgit";
};
"zasadzka.pl" = {
user = "discord";
identityFile = "~/.ssh/zasadzka";
setEnv = {
"TERM" = "xterm-256color";
};
};
};
}