aboutsummaryrefslogtreecommitdiff
path: root/modules/services/system/bluetooth.nix
blob: a0c3f86ff23fdaeda0ee4dfc52133c219229abb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  pkgs,
  lib,
  config,
  ...
}: let
  cfg = config.collinux.services.bluetooth;
in
  lib.mkIf cfg.enable {
    hardware.bluetooth = {
      enable = true;
      powerOnBoot = true;
    };

    environment.systemPackages = [pkgs.blueman];
  }