pinwheel: Add bluetooth module

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

View File

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