Add xpadneo to get controller working?

This commit is contained in:
jay
2025-06-30 12:40:11 -04:00
parent 7da2097c91
commit 0961059ff2
5 changed files with 16 additions and 3 deletions

View File

@@ -19,6 +19,7 @@
./programs/streamcontroller.nix
./programs/zen-browser.nix
./scripts/upgrade-diff.nix
./services/blueman.nix
./services/cups.nix
./services/desktopmanager.nix
./services/displaymanager.nix

View File

@@ -0,0 +1,3 @@
{ pkgs, ...}: {
services.blueman.enable = true;
}

View File

@@ -1,5 +1,13 @@
{ ... }: {
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
hardware.bluetooth = {
enable = true; # enables support for Bluetooth
powerOnBoot = true; # powers up the default Bluetooth controller on boot
settings.General = {
Privacy = "device";
JustWorksRepairing = "always";
Class = "0x000100";
FastConnectable = true;
};
};
}

View File

@@ -10,4 +10,5 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.xpadneo.enable = true;
}

View File

@@ -6,7 +6,7 @@
};
kernelPackages = pkgs.linuxPackages_xanmod_stable;
kernelModules = [ "kvm-intel" ];
extraModulePackages = with config.boot.kernelPackages; [ xone ];
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
initrd = {