[ssh] migrated to nix config
This commit is contained in:
parent
6d49aa0f5b
commit
4c7fd4f88a
@ -1,22 +0,0 @@
|
||||
# generic
|
||||
host *
|
||||
user simon
|
||||
identityfile ~/.ssh/talathiel
|
||||
serveraliveinterval 60
|
||||
stricthostkeychecking no
|
||||
|
||||
|
||||
# siempie lab
|
||||
host *.siempie.local
|
||||
proxyjump siempie.com
|
||||
|
||||
host *.siempie.internal
|
||||
proxyjump siempie.com
|
||||
|
||||
host *.hackerboys.internal
|
||||
proxyjump siempie.com
|
||||
|
||||
|
||||
# siempie do
|
||||
host *.do.local
|
||||
proxyjump do.siempie.com
|
@ -4,6 +4,20 @@
|
||||
# ssh
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
includes = [ "${config.home.homeDirectory}/.dotfiles/apps/ssh/config" ];
|
||||
matchBlocks = {
|
||||
|
||||
# general
|
||||
"*" = {
|
||||
user = "simon";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/talathiel";
|
||||
serverAliveInterval = 60;
|
||||
};
|
||||
|
||||
# siempie lab
|
||||
"*.do.local" = { proxyJump = "siempie.com"; };
|
||||
"*.hackerboys.internal" = { proxyJump = "siempie.com"; };
|
||||
"*.siempie.internal" = { proxyJump = "siempie.com"; };
|
||||
"*.siempie.local" = { proxyJump = "siempie.com"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user