Browse Source

Update flake

master
parent
commit
b82d6090cc
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 4
      flake.nix

4
flake.nix

@ -10,7 +10,7 @@
let pkgs = nixpkgs.legacyPackages.${system};
weddingSiteDir = "$HOME/.local/source/wedding-site/public/";
weddingSiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding";
weddingSiteBuild = pkgs.writeShellScriptBind "wedding-site-build" ''
weddingSiteBuild = pkgs.writeShellScriptBin "wedding-site-build" ''
pushd ${weddingSiteDir}../ && ${pkgs.hugo}/bin/hugo -v && popd
'';
weddingSiteUpdate = pkgs.writeShellScriptBin "wedding-site-update" ''
@ -18,7 +18,7 @@
'';
in
rec {
devShell = pkgs.mkShell {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
weddingSiteBuild
weddingSiteUpdate

Loading…
Cancel
Save