nixos/modules/system/hardware/bluetooth/default.nix

16 lines
309 B
Nix
Raw Permalink Normal View History

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