core/hardware: add bluetooth

This commit is contained in:
Anthony Rodriguez 2025-02-14 18:55:50 +01:00
parent 9ecbef95bf
commit 174b6251e8
Signed by: nezia
SSH key fingerprint: SHA256:R/ue1eTzTHUoo77lJD/3fSUsyL4AwvcHImU5BAZai+8
2 changed files with 14 additions and 0 deletions

View 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
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./bluetooth.nix
./fprintd.nix
./fwupd.nix
./nvidia.nix