This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/ssh/ssh.nix

24 lines
584 B
Nix
Raw Permalink Normal View History

2024-03-24 16:15:15 +01:00
{ config, pkgs, ... }:
{
# ssh
programs.ssh = {
2024-04-03 23:26:46 +02:00
enable = true;
2024-03-24 20:17:24 +01:00
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"; };
};
2024-03-24 16:15:15 +01:00
};
}