seperate root dataset again

This commit is contained in:
twoneis 2024-05-07 00:45:03 +02:00
parent 325a45a6ee
commit 6bf76ba9e6

View file

@ -59,10 +59,14 @@
compression = "zstd";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = {
root = {
type = "zfs_fs";
mountpoint = "/";
options."com.sun:auto-snapshot" = "true";
};
nix = {
type = "zfs_fs";
mountpoint = "/nix";