diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c2a8f6f --- /dev/null +++ b/shell.nix @@ -0,0 +1,17 @@ +{ pkgs ? import { } }: + +let + myUpdateWeddingSite = pkgs.writeShellScriptBin "update-wedding-site" '' + ${pkgs.rsync}/bin/rsync -aP $HOME/.local/source/wedding-site/public ubuntu@chrishayward.xyz:/var/www/wedding + ''; + +in +with pkgs; +mkShell { + buildInputs = [ + pkgs.hugo + myUpdateWeddingSite + ]; + shellHook = '' + ''; +}