Files
nixos/Droidnix/generated/modules/system/bluetooth.nix
T
2026-03-23 07:13:39 +00:00

30 lines
701 B
Nix

{ config, pkgs, ... }:
{
############################
# Bluetooth hardware
############################
hardware.bluetooth = {
enable = true; # turn on the daemon
powerOnBoot = true; # auto-power on
package = pkgs.bluez; # singular, not a list
extraConfig = ''
AutoEnable=true
DiscoverableTimeout=0
PairableTimeout=0
'';
};
############################
# GUI Bluetooth manager
############################
environment.systemPackages = with pkgs; [
blueman # graphical Bluetooth manager
];
############################
# PipeWire for Bluetooth audio
############################
services.pipewire.enable = true;
}