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
616 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 = "bastion.siempie.com"; };
"*.hackerboys.internal" = { proxyJump = "bastion.siempie.com"; };
"*.siempie.internal" = { proxyJump = "bastion.siempie.com"; };
"*.siempie.local" = { proxyJump = "bastion.siempie.com"; };
};
};
}