diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-13 15:16:11 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-13 15:16:11 +0200 |
commit | 02a7d9ee523d0411145d97dc45003f376ccce98c (patch) | |
tree | 1d80c0a69195e0c8beee7234aa0cc5da8e7ce5a0 /modules/system/services/snapper | |
parent | build(treewide): Update (diff) | |
download | nixos-config-02a7d9ee523d0411145d97dc45003f376ccce98c.tar.gz nixos-config-02a7d9ee523d0411145d97dc45003f376ccce98c.zip |
fix(modules): Adopt to flake update
Diffstat (limited to 'modules/system/services/snapper')
-rw-r--r-- | modules/system/services/snapper/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/system/services/snapper/default.nix b/modules/system/services/snapper/default.nix index 11ff0dea..bf8201a4 100644 --- a/modules/system/services/snapper/default.nix +++ b/modules/system/services/snapper/default.nix @@ -26,9 +26,9 @@ in { NUMBER_CLEANUP = false; # limit for number cleanup - NUMBER_MIN_AGE = "1800"; - NUMBER_LIMIT = "50"; - NUMBER_LIMIT_IMPORTANT = "10"; + NUMBER_MIN_AGE = 1800; + NUMBER_LIMIT = 50; + NUMBER_LIMIT_IMPORTANT = 10; # create hourly snapshots TIMELINE_CREATE = true; @@ -37,12 +37,12 @@ in { TIMELINE_CLEANUP = true; # limits for timeline cleanup - TIMELINE_MIN_AGE = "1800"; - TIMELINE_LIMIT_HOURLY = "7"; - TIMELINE_LIMIT_DAILY = "3"; - TIMELINE_LIMIT_WEEKLY = "2"; - TIMELINE_LIMIT_MONTHLY = "0"; - TIMELINE_LIMIT_YEARLY = "2"; + TIMELINE_MIN_AGE = 1800; + TIMELINE_LIMIT_HOURLY = 7; + TIMELINE_LIMIT_DAILY = 3; + TIMELINE_LIMIT_WEEKLY = 2; + TIMELINE_LIMIT_MONTHLY = 0; + TIMELINE_LIMIT_YEARLY = 2; # cleanup empty pre-post-pairs EMPTY_PRE_POST_CLEANUP = true; |