diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index f42b18f..5a0a9db 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -39,6 +39,23 @@ in # 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.loader.grub = { inherit device;