28 lines
584 B
Nix
28 lines
584 B
Nix
{ ... }:
|
|
{
|
|
services.openssh.enable = true;
|
|
|
|
home-manager.users.krizej.programs.ssh = {
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|