16 lines
281 B
Nix
16 lines
281 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.eboskma.bluetooth;
|
||
|
in
|
||
|
{
|
||
|
options.eboskma.bluetooth = {
|
||
|
enable = mkEnableOption "activate bluetooth";
|
||
|
};
|
||
|
|
||
|
config = mkIf (cfg.enable) {
|
||
|
hardware.bluetooth.enable = true;
|
||
|
services.blueman.enable = true;
|
||
|
};
|
||
|
}
|