Browse Source

Add shell.nix

master
parent
commit
e838e10aa9
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 17
      shell.nix

17
shell.nix

@ -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 = ''
'';
}
Loading…
Cancel
Save