dotfiles/modules/hardware/bluetooth/default.nix

21 lines
310 B
Nix
Raw Normal View History

2023-07-14 01:36:01 +00:00
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.hardware.bluetooth;
in {
options.aa.hardware.bluetooth = with types; {
enable = mkEnableOption "bluetooth";
};
config = mkIf cfg.enable {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
};
}