1
Fork 0
satellite/hosts/nixos/lapetus/filesystems/default.nix
2024-01-18 06:20:07 +01:00

13 lines
288 B
Nix

{ lib, ... }:
{
imports = [
./zfs.nix
(import ./partitions.nix { })
];
# Mark a bunch of paths as needed for boot
fileSystems = lib.attrsets.genAttrs
[ "/" "/nix" "/persist/data" "/persist/state" "/persist/local/cache" "/boot" ]
(p: { neededForBoot = true; });
}