diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 01:42:01 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 01:42:01 +0100 |
commit | 51ef61b3870f3d0a36430cad12c515dde49b0371 (patch) | |
tree | 3820c887dbd30b0f3f4138e0c9ff2826db9e3e68 | |
parent | 3da427363b4f4727ad2fccf66fafa440a0fe0475 (diff) | |
download | nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.gz nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.bz2 nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.tar.xz nixos-51ef61b3870f3d0a36430cad12c515dde49b0371.zip |
regular home backup
-rw-r--r-- | hel.nix | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 | ||