24 lines
584 B
Nix
24 lines
584 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
|
|
# ssh
|
|
programs.ssh = {
|
|
enable = true;
|
|
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"; };
|
|
};
|
|
};
|
|
}
|