diff --git a/flake.nix b/flake.nix index e0ef090..95e79d7 100644 --- a/flake.nix +++ b/flake.nix @@ -10,12 +10,12 @@ let pkgs = nixpkgs.legacyPackages.${system}; myWeddingSiteDir = "$MY_WEDDING_SITE_DIR"; myWeddingSiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; - myWeddingSiteBuild = pkgs.writeShellScriptBin "my-wedding-site-build" '' + myWeddingSiteBuild = pkgs.writeShellScriptBin "wedding-site-build" '' pushd ${myWeddingSiteDir} > /dev/null && ${pkgs.hugo}/bin/hugo -v ; \ popd > /dev/null ''; - myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' + myWeddingSiteUpdate = pkgs.writeShellScriptBin "wedding-site-update" '' ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt} ''; in