nixos-module.nix: add timer

このコミットが含まれているのは:
Astro 2020-10-28 09:09:53 +01:00
コミット f27005e7dd
1個のファイルの変更7行の追加0行の削除

ファイルの表示

@ -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" ];