Added zfs-prune-snapshots

This commit is contained in:
Alejandro Angulo 2023-08-24 17:28:33 -07:00
parent be26625700
commit 4262c60ad0
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -14,6 +14,8 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = [pkgs.zfs-prune-snapshots];
services.zfs = { services.zfs = {
autoScrub.enable = true; autoScrub.enable = true;
# Still need to set `com.sun:auto-snapshot` to `true` on datasets # Still need to set `com.sun:auto-snapshot` to `true` on datasets