WIP
This commit is contained in:
parent
893480e3e3
commit
9771b35612
15 changed files with 388 additions and 42 deletions
|
@ -40,9 +40,6 @@ in {
|
|||
};
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://127.0.0.1:${builtins.toString config.services.hydra.port}";
|
||||
# };
|
||||
};
|
||||
|
||||
systemd.services.cgit-setup-repos = {
|
||||
|
@ -54,4 +51,13 @@ in {
|
|||
wantedBy = ["multi-user.target"];
|
||||
script = builtins.toString cgit-setup-repos;
|
||||
};
|
||||
|
||||
systemd.timers.cgit-setup-repos = {
|
||||
wantedBy = ["timers.target"];
|
||||
partOf = ["cgit-setup-repos.service"];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 4:00:00"; # daily at 4 AM
|
||||
Unit = "cgit-setup-repos.service";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue