mirror of
https://github.com/nix-community/srvos.git
synced 2024-10-26 17:49:54 +03:00
stage1 systemd doens't support boot.growPartition
This commit is contained in:
parent
374804f9ce
commit
876a427065
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user