update: misc

This commit is contained in:
FabricSoul 2025-06-21 00:36:37 -04:00
parent 666eac0e37
commit 74d240aecb
6 changed files with 95 additions and 26 deletions

View file

@ -0,0 +1,32 @@
{
config,
pkgs,
...
}: {
# Enable Bluetooth
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings.General = {
experimental = true; # show battery
# https://www.reddit.com/r/NixOS/comments/1ch5d2p/comment/lkbabax/
# for pairing bluetooth controller
Privacy = "device";
JustWorksRepairing = "always";
Class = "0x000100";
FastConnectable = true;
};
};
services.blueman.enable = true;
hardware.xpadneo.enable = true; # Enable the xpadneo driver for Xbox One wireless controllers
boot = {
extraModulePackages = with config.boot.kernelPackages; [xpadneo];
extraModprobeConfig = ''
options bluetooth disable_ertm=Y
'';
# connect xbox controller
};
}

View file

@ -14,6 +14,8 @@
../common/optional/nvidia.nix
../common/optional/docker.nix
../common/optional/steam.nix
../common/optional/flatpak.nix
../common/optional/fcitx5.nix
];
# Bootloader