Compare commits
2 commits
ed13a0fbbf
...
4e8fb63d81
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e8fb63d81 | |||
| bfdc36458a |
3 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,7 @@
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.openssh;
|
||||||
# ssh host config
|
# ssh host config
|
||||||
matchBlocks = (import "${inputs.mysecrets}/ssh_hosts.nix").privateHosts;
|
matchBlocks = (import "${inputs.mysecrets}/ssh_hosts.nix").privateHosts;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# reset pre-defined variables that are read and manipulated throughout this function
|
# reset pre-defined variables that are read and manipulated throughout this function
|
||||||
unset JUMPHOST
|
unset JUMPHOST
|
||||||
# arrays are bash or zsh specific
|
# arrays are bash or zsh specific
|
||||||
RSYNC_OPTS=("-rlptzv" "--progress" "--delete" "--exclude=.git/" "--exclude=.direnv/" "--exclude=.vscode/" "--exclude=result" "--exclude=channels/" "--exclude=.mypy_cache/" "--exclude=__pycache__")
|
RSYNC_OPTS=("-rlptzv" "--progress" "--delete" "--exclude=.git" "--exclude=.direnv/" "--exclude=.vscode/" "--exclude=result" "--exclude=channels/" "--exclude=.mypy_cache/" "--exclude=__pycache__")
|
||||||
|
|
||||||
while getopts ':Jj:' OPT; do
|
while getopts ':Jj:' OPT; do
|
||||||
case $OPT in
|
case $OPT in
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ in
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.openssh;
|
||||||
# defaults in bottom match block "*"
|
# defaults in bottom match block "*"
|
||||||
# TODO: common config for desktop as well
|
# TODO: common config for desktop as well
|
||||||
serverAliveInterval = 10;
|
serverAliveInterval = 10;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue