1 2 3 4 5 6 7 8 9 10 11 12
{ lib, config, ... }: let inherit (lib) mkIf; in { config = mkIf config.bluetooth { hardware.bluetooth.enable = true; services.blueman.enable = true; }; }