nix-config/modules/nixos/core/bluetooth.nix
2025-05-03 16:50:27 +01:00

16 lines
255 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.core.bluetooth;
in
{
options.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
config = mkIf cfg.enable {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
};
}