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
387 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { config, pkgs, ... }:
  3. let
  4. mySiteDir = "/etc/dotfiles/docs/public/";
  5. mySiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding";
  6. mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" ''
  7. ${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt}
  8. '';
  9. in {
  10. environment.systemPackages = [
  11. pkgs.hugo
  12. mySiteUpdate
  13. ];
  14. }