diff --git a/flake.nix b/flake.nix index 8cc07c4..e0ef090 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ popd > /dev/null ''; myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' - ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir} ${myWeddingSiteTgt} + ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt} ''; in rec { @@ -27,7 +27,7 @@ ]; shellHook = '' - export MY_WEDDING_SITE_DIR=$(pwd) + export MY_WEDDING_SITE_DIR="$(pwd)" ''; }; }