I showed you my source code, pls respond
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.
 
 
 

16 lines
388 B

# This file is controlled by /etc/dotfiles/README.org
{ config, pkgs, ... }:
let
mySiteDir = "/etc/dotfiles/docs/public/";
mySiteTgt = "unbuntu@chrishayward.xyz:/var/www/wedding";
mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" ''
${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt}
'';
in {
environment.systemPackages = [
pkgs.hugo
mySiteUpdate
];
}