1
Fork 0

Mention filesystems for imperamenence's sake

This commit is contained in:
Matei Adriel 2023-07-17 19:53:24 +02:00
parent de7157006c
commit ab08c97ead
No known key found for this signature in database

View file

@ -39,6 +39,23 @@ in
# zfs rollback -r zroot@blank # zfs rollback -r zroot@blank
# ''; # '';
# {{{ Filesystems
filesystems =
let zfs = { neededForBoot = true; options = [ "zfsutil" ]; };
in
{
"/" = zfs;
"/nix" = zfs;
"/persist/data" = zfs;
"/persist/state" = zfs;
"/persist/local/cache" = zfs;
"/boot" = {
neededForBoot = true;
options = [ "zfsutil" "X-mount.mkdir" ];
};
};
# }}}
# Boot # Boot
boot.loader.grub = { boot.loader.grub = {
inherit device; inherit device;