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 = {
enable = true;
package = pkgs.openssh;
# ssh host config
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
unset JUMPHOST
# 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
case $OPT in

View file

@ -38,6 +38,7 @@ in
programs.ssh = {
enable = true;
package = pkgs.openssh;
# defaults in bottom match block "*"
# TODO: common config for desktop as well
serverAliveInterval = 10;