stage1 systemd doens't support boot.growPartition

This commit is contained in:
zimbatm 2023-04-28 14:06:47 +02:00
parent 374804f9ce
commit 876a427065

View File

@ -19,7 +19,12 @@
# - systems that require networking in early-boot
# - systems with raids as this currently require manual configuration (https://github.com/NixOS/nixpkgs/issues/210210)
# - for containers we currently rely on the `stage-2` init script that sets up our /etc
boot.initrd.systemd.enable = lib.mkDefault (!config.boot.initrd.network.enable && !config.boot.initrd.services.swraid.enable && !config.boot.isContainer);
boot.initrd.systemd.enable = lib.mkDefault (
!config.boot.initrd.network.enable &&
!config.boot.initrd.services.swraid.enable &&
!config.boot.isContainer &&
!config.boot.growPartition
);
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
documentation.info.enable = false;