From 96f10e7e4955446246c60587a1e95a8b722f6570 Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Wed, 11 Apr 2018 16:42:28 +0200 Subject: [PATCH] zfs.autoSnapshot: make `frequent` run every 15 mins fixes bug that there is 30 minutes between hh:45 and hh:15 every hour. --- nixos/modules/tasks/filesystems/zfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 30c54ddd0e4e..50cf30cc48de 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -452,7 +452,7 @@ in }) snapshotNames); systemd.timers = let - timer = name: if name == "frequent" then "*:15,30,45" else name; + timer = name: if name == "frequent" then "*:0,15,30,45" else name; in builtins.listToAttrs (map (snapName: { name = "zfs-snapshot-${snapName}";