nixos-config/users/rouven/modules/ssh/default.nix

23 lines
435 B
Nix
Raw Normal View History

2023-01-06 10:37:50 +01:00
{ 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";
};
};
};
}