[Altair] Sets up xpadneo and bluetooth.

This commit is contained in:
2026-07-09 11:24:44 -07:00
parent be1752a5c7
commit 1782e6329f
4 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
bluez
];
}

View File

@@ -6,7 +6,6 @@
pkgs,
...
}:
{
networking.hostName = "altair"; # Define your hostname.

View File

@@ -7,6 +7,7 @@
../../authorized-keys.nix
../../features/appimage.nix
../../features/audio.nix
../../features/bluetooth.nix
../../features/gc.nix
../../features/gui.nix
../../features/container-dev.nix

View File

@@ -32,6 +32,12 @@
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
# disable_ertm is required for xpadneo to connect properly and establish a
# data connection.
extraModprobeConfig = ''
options bluetooth disable_ertm=1
'';
};
fileSystems = {
@@ -107,6 +113,13 @@
# Enable the nvidia-settings menu?
nvidiaSettings = true;
};
xpadneo = {
enable = true;
settings = {
disable_mouse = 1;
};
};
bluetooth.enable = true;
};
# Add a udev rule to prevent the mouse from waking the system. Note that it