You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
343 B
17 lines
343 B
{ 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 = ''
|
|
'';
|
|
}
|