17 lines
301 B
Nix
17 lines
301 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.bchmnn = {
|
|
bluetooth = {
|
|
enable = lib.mkEnableOption "bluetooth";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf config.bchmnn.bluetooth.enable {
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
|
|
services.blueman.enable = true;
|
|
};
|
|
}
|