diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-05 16:26:11 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-05 19:43:08 +0200 |
commit | 3092d159eec781606b8153c78299f3ee6e46c3a3 (patch) | |
tree | 43fe8c596a3f987261087250cfddc74d6624c900 /modules | |
parent | refactor(hosts): Also move bluetooth and graphics to separate modules (diff) | |
download | nixos-config-3092d159eec781606b8153c78299f3ee6e46c3a3.tar.gz nixos-config-3092d159eec781606b8153c78299f3ee6e46c3a3.zip |
fix(snapper): Use strings instead of numbers for the snapper env variables
Diffstat (limited to '')
-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 bf8201a4..11ff0dea 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; |