aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/profiles/ssh.nix14
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";