summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 01:42:01 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 01:42:01 +0100
commit51ef61b3870f3d0a36430cad12c515dde49b0371 (patch)
tree3820c887dbd30b0f3f4138e0c9ff2826db9e3e68
parent3da427363b4f4727ad2fccf66fafa440a0fe0475 (diff)
downloadnixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar
nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.gz
nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.bz2
nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.xz
nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.zip
regular home backup
-rw-r--r--hel.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 4140fddc..4a823b39 100644
--- a/hel.nix
+++ b/hel.nix
@@ -519,6 +519,16 @@
519 519
520 services.btrfs-snapshots.enable = true; 520 services.btrfs-snapshots.enable = true;
521 521
522 systemd.timers."backup-odin@home-gkleen" = {
523 enable = true;
524
525 wantedBy = [ "timers.target" ];
526
527 timerConfig = {
528 Persistent = true;
529 OnUnitInactiveSec = "6h";
530 };
531 };
522 systemd.services."backup-odin@" = { 532 systemd.services."backup-odin@" = {
523 enable = true; 533 enable = true;
524 534