nix/config/Bluetooth.nix

16 lines
214 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;
};
};
}