common/pc: disable ath3k if non-free firmware is not available

This commit is contained in:
Yegor Timoshenko 2018-10-30 19:38:51 +00:00
parent 5c8cab8493
commit 3d337906f5
No known key found for this signature in database
GPG key ID: B0B0D739BB47A03A

View file

@ -1,5 +1,9 @@
{ lib, ... }: { config, lib, ... }:
{ {
boot.blacklistedKernelModules = lib.optionals (!config.hardware.enableRedistributableFirmware) [
"ath3k"
];
services.xserver.libinput.enable = lib.mkDefault true; services.xserver.libinput.enable = lib.mkDefault true;
} }