Enable ZFS scrubbing and auto-snapshots
This commit is contained in:
@ -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";
|
||||||
|
Reference in New Issue
Block a user