diff --git a/modules/core/hardware/bluetooth.nix b/modules/core/hardware/bluetooth.nix new file mode 100644 index 0000000..9d2d75d --- /dev/null +++ b/modules/core/hardware/bluetooth.nix @@ -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 + }; +} diff --git a/modules/core/hardware/default.nix b/modules/core/hardware/default.nix index adfbcf3..3f94ac2 100644 --- a/modules/core/hardware/default.nix +++ b/modules/core/hardware/default.nix @@ -1,5 +1,6 @@ { imports = [ + ./bluetooth.nix ./fprintd.nix ./fwupd.nix ./nvidia.nix