pinwheel: Add bluetooth module

This commit is contained in:
Alexander Heldt committed 2023-12-09 21:25:15 +01:00
1 parent 28f94e89d5
commit dff7e758d7
3 files changed
+26 -11

No files matched your search

@@ -0,0 +1,25 @@
{ lib, config, ... }:
let
enabled = config.mod.bluetooth.enable;
in
{
options = {
mod.bluetooth = {
enable = lib.mkEnableOption "enable bluetooth module";
};
};
config = lib.mkIf enabled {
hardware.bluetooth = {
enable = true;
settings = {
General = {
Experimental = true;
};
};
};
services.blueman.enable = true;
};
}