diff --git a/home/default.nix b/home/default.nix index 8490be94..05ecad26 100644 --- a/home/default.nix +++ b/home/default.nix @@ -222,9 +222,10 @@ TMP_SOURCE=$TMP_SOURCE/ NIX_REPLACE="${pkgs.fd}/bin/fd -g '**' $TMP_TARGET -tfile -x $NIX_SED {};" fi - ${pkgs.rsync}/bin/rsync -avzL $SOURCE /tmp/config-$TARGET + ${pkgs.rsync}/bin/rsync -avzL --exclude=".git*" $SOURCE /tmp/config-$TARGET + ${pkgs.coreutils}/bin/chmod u+rw -R $TMP_SOURCE ${pkgs.bash}/bin/sh -c "$NIX_REPLACE" - ${pkgs.rsync}/bin/rsync -avzL $TMP_SOURCE $HOST:.config/$TARGET + ${pkgs.rsync}/bin/rsync -avzL --exclude=".git*" $TMP_SOURCE $HOST:.config/$TARGET ${pkgs.coreutils}/bin/rm -rf $TMP_SOURCE fi done