mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 09:31:38 +01:00
22 lines
435 B
Nix
22 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";
|
|
};
|
|
};
|
|
};
|
|
}
|