seperate root dataset again
This commit is contained in:
parent
325a45a6ee
commit
6bf76ba9e6
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue