14 lines
222 B
Nix
14 lines
222 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
bluetooth.enable = lib.mkEnableOption "";
|
|
};
|
|
config = lib.mkIf config.bluetooth.enable {
|
|
services.blueman.enable = true;
|
|
hardware.bluetooth.enable = true;
|
|
};
|
|
}
|