more zfs
This commit is contained in:
parent
a55b594483
commit
5921272649
@ -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;
|
||||
|
||||
|
@ -26,9 +26,8 @@
|
||||
|
||||
#### 3. Zusätzliche Module / Tools ##################################
|
||||
environment.systemPackages = with pkgs; [
|
||||
zfs # zpool, zfs
|
||||
zfs # zpool, zfs, arc_summary
|
||||
zfs-prune-snapshots
|
||||
arc_summary
|
||||
];
|
||||
|
||||
#### 4. Optional: Sanoid statt OpenSolaris-Snapshots ################
|
||||
|
Loading…
x
Reference in New Issue
Block a user