This commit is contained in:
root@nixos-nas
2025-06-11 18:41:19 +00:00
parent a55b594483
commit 5921272649
2 changed files with 8 additions and 2 deletions

View File

@ -55,6 +55,13 @@
services.openssh.enable = true;
services.zfs.autoScrub.enable = true; # Snapshots & Details kommen später
systemd.services.zfs-prune-snapshots = {
description = "Remove ZFS snapshots older than policy";
serviceConfig.ExecStart = "/run/current-system/sw/bin/zfs-prune-snapshots -r --keep=2w";
startAt = "daily";
};
# Wir pinnen den Kernel, bis ZFS 2.3.x für 6.13 bereit ist
boot.kernelPackages = pkgs.linuxPackages_6_12;