mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-03-29 01:07:24 -04:00
playing with disko
This commit is contained in:
parent
75a73e937d
commit
20e4e87fb6
1 changed files with 12 additions and 0 deletions
|
|
@ -29,5 +29,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
zpool = {
|
||||||
|
zroot = {
|
||||||
|
name = "Root zpool";
|
||||||
|
mode = "mirror";
|
||||||
|
rootFsOptions = {
|
||||||
|
compression = "zstd";
|
||||||
|
"com.sun:auto-snapshot" = "false";
|
||||||
|
};
|
||||||
|
mountpoint = "/";
|
||||||
|
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue