✨ [desktop] Bluetooth
Added Bluetooth support to desktop, including PS3 controllers
This commit is contained in:
18
hosts/desktop/bluetooth.nix
Normal file
18
hosts/desktop/bluetooth.nix
Normal 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;
|
||||
}
|
@ -7,6 +7,7 @@
|
||||
{
|
||||
imports = [
|
||||
(lib.custom.relativeToRoot "shared/modules")
|
||||
./bluetooth.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user