[desktop] Bluetooth

Added Bluetooth support to desktop, including PS3 controllers
This commit is contained in:
2025-04-29 20:28:00 +02:00
parent a49dc70148
commit 0770ae3ecf
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ pkgs, ... }:
{
hardware.bluetooth = {
enable = true;
input = {
# Required to get PS3 controllers working
General = {
ClassicBondedOnly = false;
UserspaceHID = false;
};
};
powerOnBoot = true;
package = pkgs.unstable.bluez;
};
services.blueman.enable = true;
}

View File

@ -7,6 +7,7 @@
{
imports = [
(lib.custom.relativeToRoot "shared/modules")
./bluetooth.nix
./hardware-configuration.nix
];