summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-30 02:10:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-30 02:10:27 +0200
commitfd25e619fa9de11a8002479d61b61057f5820ca0 (patch)
tree6b8acaeef8af66409cb237ee2cf3a6eeb3c865bc /ymir.nix
parenta86a3b08f4b6251d73287a9ae56a31cd3521f76e (diff)
downloadnixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar
nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.gz
nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.bz2
nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.xz
nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.zip
mlmmj-maintd should be a timer
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 4605b7c1..4277bc7e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -425,9 +425,12 @@ in rec {
425 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; 425 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"];
426 }; 426 };
427 427
428 systemd.services."mlmmj-maintd" = { 428 systemd.timers."mlmmj-maintd" = {
429 description = "mlmmj maintenance daemon"; 429 description = "mlmmj maintenance daemon";
430 wantedBy = [ "multi-user.target" ]; 430 wantedBy = [ "multi-user.target" ];
431 timerConfig = {
432 OnStartupSec = "7200";
433 };
431 434
432 serviceConfig = { 435 serviceConfig = {
433 User = "mlmmj"; 436 User = "mlmmj";