mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 04:37:17 +00:00
Always enable redistributable firmware
This commit is contained in:
parent
edd9c63596
commit
5514ffb24d
|
@ -2,5 +2,6 @@ _: {
|
||||||
imports = [
|
imports = [
|
||||||
./cpu
|
./cpu
|
||||||
./tpm.nix
|
./tpm.nix
|
||||||
|
./generic.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
9
system/hardware/generic.nix
Normal file
9
system/hardware/generic.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
# This enables non-free firmware on devices not recognized by `nixos-generate-config`.
|
||||||
|
# Disabling this option will make the system unbootable if such devices are critical
|
||||||
|
# in your boot chain - therefore this should remain true until you are running a device
|
||||||
|
# with mostly libre firmware. Which there is not many of.
|
||||||
|
# Without this, it defaults to `config.hardware.enableAllFirmware`.
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue