nixos-module.nix: add timer

Este commit está contenido en:
Astro 2020-10-28 09:09:53 +01:00
padre ac550e169f
commit f27005e7dd
Se han modificado 1 ficheros con 7 adiciones y 0 borrados

Ver fichero

@ -99,6 +99,13 @@ in
Group = cfg.group;
};
};
systemd.timers.ticker-update = {
wantedBy = [ "multi-user.target" ];
partOf = [ "ticker-update.service" ];
timerConfig = {
OnCalendar = cfg.updateInterval;
};
};
systemd.services.ticker-serve = {
wantedBy = [ "multi-user.target" ];