added ssh config

This commit is contained in:
Rouven Seifert 2023-01-06 10:37:50 +01:00
parent 4da5e91ad5
commit 79c06a749a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 29 additions and 6 deletions

View file

@ -10,6 +10,7 @@
./kdeconnect
./neovim
./picom
./ssh
./tmux
./vifm
./zsh

View file

@ -0,0 +1,22 @@
{ 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";
};
};
};
}