From ec6b8eaa4afdd6aa9c37ca336af46639d17ba043 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 1 Sep 2025 00:03:19 -0700 Subject: [PATCH] enable bluetooth --- configuration.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/configuration.nix b/configuration.nix index a069249..c694519 100644 --- a/configuration.nix +++ b/configuration.nix @@ -132,6 +132,29 @@ # Enable CUPS to print documents. services.printing.enable = true; + # Enable Bluetooth. + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + # Shows battery charge of connected devices on supported + # Bluetooth adapters. Defaults to 'false'. + Experimental = true; + # When enabled other devices can connect faster to us, however + # the tradeoff is increased power consumption. Defaults to + # 'false'. + FastConnectable = true; + }; + Policy = { + # Enable all controllers when they are found. This includes + # adapters present on start as well as adapters that are plugged + # in later on. Defaults to 'true'. + AutoEnable = true; + }; + }; + }; + # Enable sound with pipewire. hardware.pulseaudio.enable = false; security.rtkit.enable = true;