snapper for minecrfat

This commit is contained in:
Tao Tien 2024-06-26 13:40:11 -07:00
parent c46ab19f76
commit 508656800c
5 changed files with 18 additions and 18 deletions

View file

@ -3,4 +3,16 @@
temurin-jre-bin-17
];
networking.firewall.allowedTCPPorts = [25565];
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
ALLOW_USERS = ["mc"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = "5";
TIMELINE_LIMIT_DAILY = "7";
};
};
services.snapper.snapshotInterval = "*:0/5";
}