2021-11-22 08:04:54 +01:00
|
|
|
{
|
2022-03-01 22:19:03 +01:00
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.bluetooth;
|
|
|
|
in {
|
2021-11-22 08:04:54 +01:00
|
|
|
options.eboskma.bluetooth = {
|
|
|
|
enable = mkEnableOption "activate bluetooth";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf (cfg.enable) {
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
services.blueman.enable = true;
|
|
|
|
};
|
|
|
|
}
|