2023-07-18 16:49:13 +02:00
|
|
|
# Mark a bunch of paths as needed for boot
|
|
|
|
{ lib, ... }:
|
2023-07-18 16:30:04 +02:00
|
|
|
{
|
2023-07-18 16:49:13 +02:00
|
|
|
fileSystems = lib.attrsets.genAttrs
|
|
|
|
[ "/" "/nix" "/persist/data" "/persist/state" "/persist/local/cache" "/boot" ]
|
|
|
|
(_: { neededForBoot = true; });
|
2023-07-18 16:30:04 +02:00
|
|
|
}
|