Added zfs-prune-snapshots
This commit is contained in:
parent
be26625700
commit
4262c60ad0
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue