nix-config/modules/nixos/core/bluetooth.nix

17 lines
273 B
Nix
Raw Normal View History

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