Add xpadneo to get controller working?
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
./programs/streamcontroller.nix
|
./programs/streamcontroller.nix
|
||||||
./programs/zen-browser.nix
|
./programs/zen-browser.nix
|
||||||
./scripts/upgrade-diff.nix
|
./scripts/upgrade-diff.nix
|
||||||
|
./services/blueman.nix
|
||||||
./services/cups.nix
|
./services/cups.nix
|
||||||
./services/desktopmanager.nix
|
./services/desktopmanager.nix
|
||||||
./services/displaymanager.nix
|
./services/displaymanager.nix
|
||||||
|
|||||||
3
nodes/hosts/common/services/blueman.nix
Normal file
3
nodes/hosts/common/services/blueman.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{ pkgs, ...}: {
|
||||||
|
services.blueman.enable = true;
|
||||||
|
}
|
||||||
@@ -1,5 +1,13 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth = {
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,4 +10,5 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
hardware.xpadneo.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ xone ];
|
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
|
||||||
extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
|
extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
|
|||||||
Reference in New Issue
Block a user