nixos/modules/system/bluetooth/default.nix

16 lines
291 B
Nix
Raw Normal View History

2024-05-25 23:51:37 +02:00
{ config, lib, ... }:
2024-05-25 01:32:48 +02:00
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;
};
}