nixos/modules/system/bluetooth/default.nix

16 lines
No EOL
291 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.modules.system.bluetooth;
in
{
options.modules.system.bluetooth = {
enable = mkEnableOption ''
Enable pipewire with my custom configurations
'';
};
config = mkIf cfg.enable {
hardware.bluetooth.enable = true;
};
}