summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-05 23:33:54 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-05 23:33:54 +0200
commit7268247d54b79d00ae39584ffb5f4c49d5ea10b8 (patch)
treeb49fc8ea4a61bbcb1563134ae65e9e018946d3c6 /ymir.nix
parent736d0a48409a98db01d0a975abb76560779ee5e6 (diff)
downloadnixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar
nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.gz
nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.bz2
nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.xz
nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.zip
Work on timers
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 415724cf..1f2df5c6 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -627,10 +627,12 @@ in rec {
627 wantedBy = [ "multi-user.target" ]; 627 wantedBy = [ "multi-user.target" ];
628 628
629 timerConfig = { 629 timerConfig = {
630 OnUnitInactiveSec = "10m"; 630 OnActiveSec = "10m";
631 }; 631 };
632 }; 632 };
633 633
634 systemd.targets."multi-user".wants = ["mlmmj-maintd.timers"];
635
634 systemd.services."mlmmj-maintd" = { 636 systemd.services."mlmmj-maintd" = {
635 description = "mlmmj maintenance daemon"; 637 description = "mlmmj maintenance daemon";
636 638