nix/modules/hardware/bluetooth/default.nix
2024-11-24 20:15:38 +01:00

14 lines
222 B
Nix

{
lib,
config,
...
}: {
options = {
bluetooth.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.bluetooth.enable {
services.blueman.enable = true;
hardware.bluetooth.enable = true;
};
}