Compare commits
No commits in common. "7aecda084f6f3a5b01da1b20dcfd98f3708ca107" and "8246c459b8c5cc9e099b2550487e8662ea51187c" have entirely different histories.
7aecda084f
...
8246c459b8
|
@ -79,7 +79,6 @@
|
||||||
|
|
||||||
rsynchydra() {
|
rsynchydra() {
|
||||||
_parse_rsync_args "$@"
|
_parse_rsync_args "$@"
|
||||||
# the name of RR_TO is a bit misleading, it just describes the 2nd positional arg here
|
_do_rsync "$RR_FROM" "hydra01" "$RR_TARGET"
|
||||||
_do_rsync "$RR_FROM" "hydra01" "$RR_TO"
|
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
|
|
@ -32,21 +32,11 @@ in
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# defaults in bottom match block "*"
|
|
||||||
# TODO: common config for desktop as well
|
|
||||||
# multiplexer, e.g. to avoid rate limiting on jumphost usage
|
|
||||||
serverAliveInterval = 60;
|
|
||||||
controlMaster = "auto";
|
|
||||||
controlPersist = "4h";
|
|
||||||
# ssh host config
|
# ssh host config
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
|
|
||||||
# early catchall to enforce agent socket usage. **NOT** the place for fallback defaults.
|
|
||||||
"*" = {
|
"*" = {
|
||||||
extraOptions = {
|
extraOptions.IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
||||||
IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
|
||||||
#ControlPath = "/tmp/ssh_mux_%h_%p_%r";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"hydra01" = lib.hm.dag.entryAfter [ "*" ] {
|
"hydra01" = lib.hm.dag.entryAfter [ "*" ] {
|
||||||
|
|
Loading…
Reference in a new issue