all repos — nixfiles @ c320cec75be24c1169a439e9a4c3b2f0875a5c6f

System and user configuration, managed by nix and home-manager

system/settings/hardware/bluetooth.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config
, pkgs
, lib
, ...
}: {
  hardware = {
    bluetooth = {
      enable = true;
      powerOnBoot = false;
    };
  };
  systemd.services.bluetooth.restartIfChanged = false;

  environment.systemPackages = with pkgs; [
    bluez-tools
  ];

  services.blueman = {
    enable = lib.mkDefault true;
  };
}