This commit is contained in:
albert 2024-11-21 16:14:24 +01:00
parent 60a6230bd4
commit f20ba299ed
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -3,40 +3,40 @@
services.snapper = { services.snapper = {
snapshotRootOnBoot = true; snapshotRootOnBoot = true;
cleanupInterval = "1d"; cleanupInterval = "1h";
snapshotInterval = "hourly"; snapshotInterval = "hourly";
configs = { configs = {
root = { root = {
TIMELINE_CREATE = true; TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true; TIMELINE_CLEANUP = true;
# TIMELINE_LIMIT_YEARLY = 0; TIMELINE_LIMIT_YEARLY = 0;
# TIMELINE_LIMIT_QUARTERLY = 2; TIMELINE_LIMIT_QUARTERLY = 2;
# TIMELINE_LIMIT_MONTHLY = 3; TIMELINE_LIMIT_MONTHLY = 3;
# TIMELINE_LIMIT_WEEKLY = 4; TIMELINE_LIMIT_WEEKLY = 4;
# TIMELINE_LIMIT_DAILY = 7; TIMELINE_LIMIT_DAILY = 7;
# TIMELINE_LIMIT_HOURLY = 24; TIMELINE_LIMIT_HOURLY = 24;
SUBVOLUME = "/"; SUBVOLUME = "/";
}; };
home = { home = {
TIMELINE_CREATE = true; TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true; TIMELINE_CLEANUP = true;
# TIMELINE_LIMIT_YEARLY = 0; TIMELINE_LIMIT_YEARLY = 0;
# TIMELINE_LIMIT_QUARTERLY = 2; TIMELINE_LIMIT_QUARTERLY = 2;
# TIMELINE_LIMIT_MONTHLY = 3; TIMELINE_LIMIT_MONTHLY = 3;
# TIMELINE_LIMIT_WEEKLY = 4; TIMELINE_LIMIT_WEEKLY = 4;
# TIMELINE_LIMIT_DAILY = 7; TIMELINE_LIMIT_DAILY = 7;
# TIMELINE_LIMIT_HOURLY = 24; TIMELINE_LIMIT_HOURLY = 24;
SUBVOLUME = "/home"; SUBVOLUME = "/home";
}; };
nix = { nix = {
TIMELINE_CREATE = true; TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true; TIMELINE_CLEANUP = true;
# TIMELINE_LIMIT_YEARLY = 0; TIMELINE_LIMIT_YEARLY = 0;
# TIMELINE_LIMIT_QUARTERLY = 2; TIMELINE_LIMIT_QUARTERLY = 2;
# TIMELINE_LIMIT_MONTHLY = 3; TIMELINE_LIMIT_MONTHLY = 3;
# TIMELINE_LIMIT_WEEKLY = 4; TIMELINE_LIMIT_WEEKLY = 4;
# TIMELINE_LIMIT_DAILY = 7; TIMELINE_LIMIT_DAILY = 7;
# TIMELINE_LIMIT_HOURLY = 24; TIMELINE_LIMIT_HOURLY = 24;
SUBVOLUME = "/nix"; SUBVOLUME = "/nix";
}; };
}; };