diff options
Diffstat (limited to '')
| -rw-r--r-- | machines/oxo/configuration.nix | 1 | ||||
| -rw-r--r-- | modules/git/cgit.nix | 1 | ||||
| -rw-r--r-- | modules/git/cron.nix | 10 | 
3 files changed, 12 insertions, 0 deletions
| diff --git a/machines/oxo/configuration.nix b/machines/oxo/configuration.nix index 4bf16df..ddc5429 100644 --- a/machines/oxo/configuration.nix +++ b/machines/oxo/configuration.nix @@ -10,6 +10,7 @@      "compromyse.nix"      "git/user.nix"      "git/cgit.nix" +    "git/cron.nix"    ]);    networking.hostName = "oxo"; diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index e5e2e6c..87e0dd1 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -22,6 +22,7 @@ in {        readme = ":README.md";        repository-sort = "age"; +      section-sort = "age";        enable-commit-graph = true;        enable-follow-links = true; diff --git a/modules/git/cron.nix b/modules/git/cron.nix new file mode 100644 index 0000000..9f0327d --- /dev/null +++ b/modules/git/cron.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ +  services.cron = { +    enable = true; +    systemCronJobs = [ +      "* * * * *      git    git-shell -c update-timestamps" +    ]; +  }; +} | 
