enable autosnapshotting by default

This commit is contained in:
hodasemi 2025-05-14 16:55:52 +02:00
parent e3b966582e
commit eae9f1e18c

View file

@ -53,7 +53,7 @@
options.cachefile = "none";
rootFsOptions = {
compression = "zstd";
"com.sun:auto-snapshot" = "false";
"com.sun:auto-snapshot" = "true";
};
mountpoint = "/";
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
@ -62,7 +62,6 @@
zfs_fs = {
type = "zfs_fs";
mountpoint = "/zfs_fs";
options."com.sun:auto-snapshot" = "true";
};
};
};