From 51ef61b3870f3d0a36430cad12c515dde49b0371 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 01:42:01 +0100 Subject: regular home backup --- hel.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hel.nix b/hel.nix index 4140fddc..4a823b39 100644 --- a/hel.nix +++ b/hel.nix @@ -519,6 +519,16 @@ services.btrfs-snapshots.enable = true; + systemd.timers."backup-odin@home-gkleen" = { + enable = true; + + wantedBy = [ "timers.target" ]; + + timerConfig = { + Persistent = true; + OnUnitInactiveSec = "6h"; + }; + }; systemd.services."backup-odin@" = { enable = true; -- cgit v1.2.3