NixOS/system/modules/bluetooth.nix

14 lines
222 B
Nix
Raw Normal View History

2024-06-12 09:54:11 +07:00
{ config, lib, ... }:
let
cfg = config.profile.bluetooth;
in
{
config = lib.mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
};
}