Files
home-manager/system-environment/ssh.nix
Nina Chlóe Kassandra Reiß 591d110120 Update ssh to make it future proof
2026-04-21 12:44:42 +02:00

34 lines
562 B
Nix

{ config, pkgs, ... }:
let
profile = import ../profile.nix;
in
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks."*" = {
compression = true;
serverAliveInterval = 60;
};
extraConfig = ''
Host git.nickr.eu
HostName git.nickr.eu
Port 22
Host nickr.eu
HostName nickr.eu
Port 222
Host nichkara.eu
HostName nichkara.eu
Port 222
Host git.nichkara.eu
HostName git.nichkara.eu
Port 22
'';
};
}