about summary refs log tree commit diff stats
path: root/modules/system/services/snapper
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-13 15:16:11 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-13 15:16:11 +0200
commit02a7d9ee523d0411145d97dc45003f376ccce98c (patch)
tree1d80c0a69195e0c8beee7234aa0cc5da8e7ce5a0 /modules/system/services/snapper
parentbuild(treewide): Update (diff)
downloadnixos-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.nix18
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;