Compare commits

...

2 commits

Author SHA1 Message Date
4e8fb63d81 reporsync: ignore .git also as file
.git is just a file for worktree checkout working directories.
2025-12-15 22:36:44 +01:00
bfdc36458a home/ssh: set package 2025-12-12 09:04:29 +01:00
3 changed files with 3 additions and 1 deletions

View file

@ -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;
}; };

View file

@ -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

View file

@ -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;