Enable ZFS scrubbing and auto-snapshots

This commit is contained in:
2023-05-21 23:08:15 +01:00
parent 8c9c1f32d2
commit f6f269eeed

View File

@ -25,6 +25,18 @@ with lib.my;
system.stateVersion = "22.11"; system.stateVersion = "22.11";
services.zfs = {
autoScrub = {
enable = true;
pools = [ "library" ];
};
autoSnapshot = {
enable = true;
flags = "-k -p --utc";
daily = 7;
};
};
systemd.services.vps1-tunnel = { systemd.services.vps1-tunnel = {
enable = true; enable = true;
description = "vps1.mesh.vimium.net SSH tunnel"; description = "vps1.mesh.vimium.net SSH tunnel";