From 68adac515ee16dd756fac386790fabab4eebbf63 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Fri, 19 Jul 2024 15:28:54 +0200 Subject: [PATCH] controller support (problems with wireless) --- configuration.nix | 11 +++++++++-- flake.lock | 6 +++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 586f914..8415ccd 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,8 +23,12 @@ system.autoUpgrade.allowReboot = true; - # Graphics - hardware.opengl.enable = true; + hardware = { + xone.enable = true; + xpadneo.enable = true; + steam-hardware.enable = true; + opengl.enable = true; + }; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -74,6 +78,7 @@ variant = ""; }; + # Configure console keymap console.keyMap = "sv-latin1"; @@ -142,6 +147,8 @@ nodejs_20 lact glxinfo + # Controller + linuxConsoleTools # Buildtools python3 gnumake diff --git a/flake.lock b/flake.lock index 574124c..522c400 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1719707984, - "narHash": "sha256-RoxIr/fbndtuKqulGvNCcuzC6KdAib85Q8gXnjzA1dw=", + "lastModified": 1721226092, + "narHash": "sha256-UBvzVpo5sXSi2S/Av+t+Q+C2mhMIw/LBEZR+d6NMjws=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7dca15289a1c2990efbe4680f0923ce14139b042", + "rev": "c716603a63aca44f39bef1986c13402167450e0a", "type": "github" }, "original": {