hardware: set enableRedistributableFirmware if enableAllFirmware is set (#163014)

If it works with enableRedistributableFirmware, which is a subset of enableAllFirmware, it should also work with enableAllFirmware.
This commit is contained in:
Julien Mourer 2022-04-28 10:30:04 +02:00 committed by GitHub
parent ce09c74db0
commit 55f1c83f5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,8 @@ in {
};
hardware.enableRedistributableFirmware = mkOption {
default = false;
default = config.hardware.enableAllFirmware;
defaultText = lib.literalExpression "config.hardware.enableAllFirmware";
type = types.bool;
description = ''
Turn on this option if you want to enable all the firmware with a license allowing redistribution.