mirror of
https://github.com/wlcx/home.git
synced 2026-03-27 22:53:13 +00:00
Compare commits
2 Commits
072ff7acdc
...
ad60d86c53
| Author | SHA1 | Date | |
|---|---|---|---|
| ad60d86c53 | |||
| ac362b6667 |
@ -107,11 +107,14 @@ in
|
|||||||
|
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
|
package = pkgs.openssh; # Use modern ssh
|
||||||
includes = [ "~/.ssh/config.local" ];
|
includes = [ "~/.ssh/config.local" ];
|
||||||
matchBlocks."*" = {
|
matchBlocks."*" = {
|
||||||
user = "samw";
|
user = "samw";
|
||||||
serverAliveInterval = 30;
|
serverAliveInterval = 30;
|
||||||
serverAliveCountMax = 10;
|
serverAliveCountMax = 10;
|
||||||
|
compression = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -17,5 +17,5 @@
|
|||||||
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||||
};
|
};
|
||||||
programs.zsh.sessionVariables.SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
programs.zsh.sessionVariables.SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||||
programs.zsh.initExtra = "eval $(/opt/homebrew/bin/brew shellenv)";
|
programs.zsh.initContent = "eval $(/opt/homebrew/bin/brew shellenv)";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user