Unverified Commit 8f1b798f authored by NAHO's avatar NAHO
Browse files

nixos/firmware: simplify hardware.enableAllFirmware assertion condition

parent 8eb28adf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ in
    (lib.mkIf cfg.enableAllFirmware {
      assertions = [
        {
          assertion = !cfg.enableAllFirmware || pkgs.config.allowUnfree;
          assertion = cfg.enableAllFirmware -> pkgs.config.allowUnfree;
          message = ''
            the list of hardware.enableAllFirmware contains non-redistributable licensed firmware files.
              This requires nixpkgs.config.allowUnfree to be true.