From a18c6d1710538164fbdce49e3aa29f52e131003d Mon Sep 17 00:00:00 2001 From: ekzyis Date: Tue, 29 Oct 2024 13:52:37 +0100 Subject: [PATCH] Enable bluetooth --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index f3f1b29..7bbf1eb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -66,6 +66,7 @@ # Enable sound. sound.enable = true; hardware.pulseaudio.enable = true; + hardware.pulseaudio.extraConfig = "load-module module-switch-on-connect"; # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true; @@ -177,6 +178,11 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + # Enable bluetooth + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + services.blueman.enable = true; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];