diff options
author | Julien Mourer <getkey@users.noreply.github.com> | 2022-04-28 10:30:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 10:30:04 +0200 |
commit | 55f1c83f5b7c2ca79e60e95015088a143eda6a90 (patch) | |
tree | f9ffcf2124087727876e189a29faf62c0420784c /nixos/modules/hardware/all-firmware.nix | |
parent | ce09c74db0e128da1367caf9809f67070ad54fee (diff) | |
download | nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar.gz nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar.bz2 nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar.lz nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar.xz nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.tar.zst nixpkgs-55f1c83f5b7c2ca79e60e95015088a143eda6a90.zip |
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.
Diffstat (limited to 'nixos/modules/hardware/all-firmware.nix')
-rw-r--r-- | nixos/modules/hardware/all-firmware.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix index 5b60b17312f..74678416a15 100644 --- a/nixos/modules/hardware/all-firmware.nix +++ b/nixos/modules/hardware/all-firmware.nix @@ -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. |