@ -0,0 +1,17 @@
{ pkgs ? import <nixpkgs> { } }:
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 = ''
}