update: misc

This commit is contained in:
FabricSoul 2025-07-02 17:25:32 -04:00
parent 391159f8f3
commit 5339994df8
10 changed files with 100 additions and 185 deletions

View file

@ -7,26 +7,6 @@
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

@ -0,0 +1,8 @@
{...}: {
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
}

View file

@ -16,6 +16,8 @@
../common/optional/steam.nix
../common/optional/flatpak.nix
../common/optional/fcitx5.nix
../common/optional/bluetooth.nix
../common/optional/sunshine.nix
];
# Bootloader

View file

@ -16,6 +16,8 @@
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
hardware.enableRedistributableFirmware = true;
# Firmware packages
hardware.firmware = with pkgs; [
linux-firmware