mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
23 lines
435 B
Nix
23 lines
435 B
Nix
{ config, ... }:
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
matchBlocks = {
|
|
"github.com" = {
|
|
identityFile = "~/.ssh/git";
|
|
};
|
|
"rfive.de" = {
|
|
user = "fedora";
|
|
};
|
|
"git@rfive.de" = {
|
|
match = "Host rfive.de User git";
|
|
identityFile = "~/.ssh/git";
|
|
};
|
|
"git@raspi" = {
|
|
match = "Host raspi User git";
|
|
identityFile = "~/.ssh/git";
|
|
};
|
|
};
|
|
};
|
|
}
|