From 3d337906f538d3fe29198c7d9a24753a89b44fe3 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Tue, 30 Oct 2018 19:38:51 +0000 Subject: [PATCH] common/pc: disable ath3k if non-free firmware is not available --- common/pc/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/pc/default.nix b/common/pc/default.nix index 0b498ff..8864de1 100644 --- a/common/pc/default.nix +++ b/common/pc/default.nix @@ -1,5 +1,9 @@ -{ lib, ... }: +{ config, lib, ... }: { + boot.blacklistedKernelModules = lib.optionals (!config.hardware.enableRedistributableFirmware) [ + "ath3k" + ]; + services.xserver.libinput.enable = lib.mkDefault true; }