diff --git a/hosts/x86_64/edi/configuration.nix b/hosts/x86_64/edi/configuration.nix index 4ee7e5c..17d1a53 100644 --- a/hosts/x86_64/edi/configuration.nix +++ b/hosts/x86_64/edi/configuration.nix @@ -119,15 +119,24 @@ ## These are disabled currently as I am testing this. -# systemd.services.git-update = { +# systemd.user.services.website-git-update = { # enable = true; -# description = "update website git"; +# description = "runs git to pull latest website changes"; # serviceConfig = { # ExecStart = "/run/current-system/sw/bin/git -C /mnt/DATA/Website/ahoneybun.net pull"; # }; # wantedBy = [ "multi-user.target" ]; # }; +# systemd.timers."website-git-update" = { +# wantedBy = [ "timers.target" ]; +# timerConfig = { +# OnBootSec = "15m"; +# OnUnitActiveSec = "15m"; +# Unit = "website-git-update.service"; +# }; +# }; + # systemd.services.zola-build = { # enable = true; # description = "rebuild zola website";