From 74189b3786478b0f5e257fb8d638518bf3e27582 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Thu, 4 Jul 2024 14:36:40 +0900 Subject: [PATCH] Fix bluetooth --- hosts/default/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index d2464ab..1037ce9 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ inputs, config, pkgs, ... }: +{ inputs, config, pkgs, lib, ... }: { imports = @@ -80,6 +80,10 @@ # Enable CUPS to print documents. services.printing.enable = true; + # Enable bluetooth + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + # Enable sound with pipewire. hardware.pulseaudio.enable = false; security.rtkit.enable = true;