1
Fork 0
satellite/hosts/nixos/lapetus/filesystems/default.nix
2024-01-18 01:47:25 +01:00

16 lines
329 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" ]
(_: {
neededForBoot = true;
depends = [ "/hermes" ];
});
}