mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
added ssh config
This commit is contained in:
parent
4da5e91ad5
commit
79c06a749a
3 changed files with 29 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
|||
./kdeconnect
|
||||
./neovim
|
||||
./picom
|
||||
./ssh
|
||||
./tmux
|
||||
./vifm
|
||||
./zsh
|
||||
|
|
22
users/rouven/modules/ssh/default.nix
Normal file
22
users/rouven/modules/ssh/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue