diff options
author | Benjamin Andresen <bandresen@gmail.com> | 2018-04-11 16:42:28 +0200 |
---|---|---|
committer | Benjamin Andresen <bandresen@gmail.com> | 2018-04-11 16:45:00 +0200 |
commit | 96f10e7e4955446246c60587a1e95a8b722f6570 (patch) | |
tree | 97a5627767c6a6354626b7d0e1cbebe10b9d14f5 /nixos/modules/tasks | |
parent | 1d129ed65f473adffce894825d9bd410ebd91e26 (diff) | |
download | nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar.gz nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar.bz2 nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar.lz nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar.xz nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.tar.zst nixlib-96f10e7e4955446246c60587a1e95a8b722f6570.zip |
zfs.autoSnapshot: make `frequent` run every 15 mins
fixes bug that there is 30 minutes between hh:45 and hh:15 every hour.
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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}"; |