diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-07 13:50:03 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-07 13:50:03 -0800 |
| commit | cf6b9dcf17b67ab6052d435f826458b1b21e14e2 (patch) | |
| tree | 1c6fe265c80f4e6d421b0189f2c66e4740d3831f /home/profiles/ssh.nix | |
| parent | boot configuration for nixos (diff) | |
| download | infra-cf6b9dcf17b67ab6052d435f826458b1b21e14e2.tar.gz | |
update to nix 25.11
Diffstat (limited to 'home/profiles/ssh.nix')
| -rw-r--r-- | home/profiles/ssh.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/home/profiles/ssh.nix b/home/profiles/ssh.nix index 250aff5..8e39def 100644 --- a/home/profiles/ssh.nix +++ b/home/profiles/ssh.nix @@ -2,13 +2,15 @@ { programs.ssh = { enable = true; - forwardAgent = true; - serverAliveInterval = 60; - controlMaster = "auto"; - controlPersist = "30m"; - controlPath = "${config.home.homeDirectory}/.ssh/sockets/S.%r@%h:%p"; - + enableDefaultConfig = false; matchBlocks = { + "*" = { + forwardAgent = true; + serverAliveInterval = 60; + controlPersist = "30m"; + controlPath = "${config.home.homeDirectory}/.ssh/sockets/S.%r@%h:%p"; + controlMaster = "auto"; + }; "github.com" = { hostname = "github.com"; user = "git"; |
