refactor: move xone configuration to guz home configuration.nix

This commit is contained in:
Guz
2025-03-14 22:16:01 -03:00
parent 7f26150612
commit d610863680
2 changed files with 4 additions and 8 deletions

View File

@@ -18,6 +18,9 @@
proton-ge-bin proton-ge-bin
]; ];
# Xbox Controller driver
hardware.xone.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"davinci-resolve" "davinci-resolve"

View File

@@ -1,8 +1,4 @@
{ {lib, ...}: {
lib,
pkgs,
...
}: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./gpu-configuration.nix ./gpu-configuration.nix
@@ -23,9 +19,6 @@
#wireless.enable = lib.mkForce true; #wireless.enable = lib.mkForce true;
}; };
# Xbox Controller driver
hardware.xone.enable = true;
hardware.bluetooth.settings.General = { hardware.bluetooth.settings.General = {
experimental = true; experimental = true;