[Boot] Always add cmdline arguments

Even if boot config is disabled
This commit is contained in:
Antoine Viallon 2022-06-09 01:03:10 +02:00
parent 45ba2a76d3
commit c84b845d12
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -92,6 +92,7 @@ in
config = {
boot.kernelParams = toCmdlineList cfg.cmdline;
} // (mkIf cfg.enable {
boot.kernelParams = toCmdlineList cfg.cmdline;
hardware.enableAllFirmware = allowUnfree;
hardware.enableRedistributableFirmware = true;