mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
zfs.autoSnapshot: make frequent
run every 15 mins
fixes bug that there is 30 minutes between hh:45 and hh:15 every hour.
This commit is contained in:
parent
1d129ed65f
commit
96f10e7e49
@ -452,7 +452,7 @@ in
|
|||||||
}) snapshotNames);
|
}) snapshotNames);
|
||||||
|
|
||||||
systemd.timers = let
|
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:
|
in builtins.listToAttrs (map (snapName:
|
||||||
{
|
{
|
||||||
name = "zfs-snapshot-${snapName}";
|
name = "zfs-snapshot-${snapName}";
|
||||||
|
Loading…
Reference in New Issue
Block a user