2023-07-18 16:49:13 +02:00
|
|
|
{ lib, ... }:
|
2023-07-18 16:30:04 +02:00
|
|
|
{
|
2023-08-17 09:31:46 +02:00
|
|
|
imports = [
|
|
|
|
./zfs.nix
|
2024-01-17 08:39:14 +01:00
|
|
|
(import ./partitions.nix { })
|
2023-08-17 09:31:46 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Mark a bunch of paths as needed for boot
|
2023-07-18 16:49:13 +02:00
|
|
|
fileSystems = lib.attrsets.genAttrs
|
|
|
|
[ "/" "/nix" "/persist/data" "/persist/state" "/persist/local/cache" "/boot" ]
|
2024-01-18 01:47:25 +01:00
|
|
|
(_: {
|
|
|
|
neededForBoot = true;
|
|
|
|
depends = [ "/hermes" ];
|
|
|
|
});
|
2023-07-18 16:30:04 +02:00
|
|
|
}
|