nix/config/Bluetooth.nix

14 lines
221 B
Nix

{ config, lib, ... }:
let
cfg = config.module.bluetooth;
in
{
config = lib.mkIf cfg.enable {
services.blueman.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
};
}