move root to dataset

This commit is contained in:
2025-04-27 14:59:10 -05:00
parent fbf9accd6e
commit 118186e48c
+5 -1
View File
@@ -41,10 +41,14 @@
compression = "zstd";
"com.sun:auto-snapshot" = "false";
};
moutpoint = "/";
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = {
"root" = {
type = "zfs_fs";
options.mountpoint = "/";
mountpoint = "/";
};
"nix" = {
type = "zfs_fs";
options.mountpoint = "/local/nix";