diff --git a/nixos/common/services/snapper.nix b/nixos/common/services/snapper.nix index 363371b8..fafe1982 100644 --- a/nixos/common/services/snapper.nix +++ b/nixos/common/services/snapper.nix @@ -3,40 +3,40 @@ services.snapper = { snapshotRootOnBoot = true; - cleanupInterval = "1d"; + cleanupInterval = "1h"; snapshotInterval = "hourly"; configs = { root = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; - # TIMELINE_LIMIT_YEARLY = 0; - # TIMELINE_LIMIT_QUARTERLY = 2; - # TIMELINE_LIMIT_MONTHLY = 3; - # TIMELINE_LIMIT_WEEKLY = 4; - # TIMELINE_LIMIT_DAILY = 7; - # TIMELINE_LIMIT_HOURLY = 24; + TIMELINE_LIMIT_YEARLY = 0; + TIMELINE_LIMIT_QUARTERLY = 2; + TIMELINE_LIMIT_MONTHLY = 3; + TIMELINE_LIMIT_WEEKLY = 4; + TIMELINE_LIMIT_DAILY = 7; + TIMELINE_LIMIT_HOURLY = 24; SUBVOLUME = "/"; }; home = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; - # TIMELINE_LIMIT_YEARLY = 0; - # TIMELINE_LIMIT_QUARTERLY = 2; - # TIMELINE_LIMIT_MONTHLY = 3; - # TIMELINE_LIMIT_WEEKLY = 4; - # TIMELINE_LIMIT_DAILY = 7; - # TIMELINE_LIMIT_HOURLY = 24; + TIMELINE_LIMIT_YEARLY = 0; + TIMELINE_LIMIT_QUARTERLY = 2; + TIMELINE_LIMIT_MONTHLY = 3; + TIMELINE_LIMIT_WEEKLY = 4; + TIMELINE_LIMIT_DAILY = 7; + TIMELINE_LIMIT_HOURLY = 24; SUBVOLUME = "/home"; }; nix = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; - # TIMELINE_LIMIT_YEARLY = 0; - # TIMELINE_LIMIT_QUARTERLY = 2; - # TIMELINE_LIMIT_MONTHLY = 3; - # TIMELINE_LIMIT_WEEKLY = 4; - # TIMELINE_LIMIT_DAILY = 7; - # TIMELINE_LIMIT_HOURLY = 24; + TIMELINE_LIMIT_YEARLY = 0; + TIMELINE_LIMIT_QUARTERLY = 2; + TIMELINE_LIMIT_MONTHLY = 3; + TIMELINE_LIMIT_WEEKLY = 4; + TIMELINE_LIMIT_DAILY = 7; + TIMELINE_LIMIT_HOURLY = 24; SUBVOLUME = "/nix"; }; };