pinwheel: Add bluetooth module
This commit is contained in:
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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user