core/hardware: add bluetooth
This commit is contained in:
parent
9ecbef95bf
commit
174b6251e8
2 changed files with 14 additions and 0 deletions
13
modules/core/hardware/bluetooth.nix
Normal file
13
modules/core/hardware/bluetooth.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (config.local.profiles) desktop;
|
||||
in {
|
||||
config = mkIf desktop.enable {
|
||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./fprintd.nix
|
||||
./fwupd.nix
|
||||
./nvidia.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue