my nixos config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

yes indeed rsync is capable of this

chfour d63e707b 01eb8344

+3 -5
+3 -5
machines/fovps/services/caddy/default.nix
··· 54 54 text = '' 55 55 # epic hack hacky hackk 56 56 mkdir -p ${websiteDest} 57 - cp -r ${websitePath}/* ${websiteDest} 58 - pushd ${websiteDest} && comm -z -13 \ 59 - <(find ${websitePath} -mindepth 1 -printf '%P\0' | sort -z) \ 60 - <(find . -mindepth 1 -printf '%P\0' | sort -z) \ 61 - | xargs -0 rm -rf; popd 57 + ${pkgs.lib.getExe pkgs.rsync} -r --copy-links --delete \ 58 + ${websitePath}/ ${websiteDest} 59 + 62 60 # :trol: 63 61 ${pkgs.lib.getExe pkgs.gnused} -i \ 64 62 's|/nix/store/VERY5p3c14lsecretv4luereplaceme0-chfour-website|${websitePath}|' \