From 88e0a1eb09d144f364ef8c6655c927393c028fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 11 May 2024 00:09:53 +0200 Subject: [PATCH] Revert kernel upgrade I need 6.2+ for DS4, evdi doesn't work with kernel 6.6+, all versions matching are EOL. Probably won't game much before 24.05 release which hopefully helps things? --- curacao/hardware.nix | 1 + flake.lock | 11 ++++++----- os/gaming/default.nix | 1 - 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/curacao/hardware.nix b/curacao/hardware.nix index ec65c1a..43abb42 100644 --- a/curacao/hardware.nix +++ b/curacao/hardware.nix @@ -28,6 +28,7 @@ }; # Needs prefetched binary blobs, see https://nixos.wiki/wiki/Displaylink services.xserver.videoDrivers = [ "displaylink" "modesetting" ]; + # TODO See if nvidia and DL can work together. }; imports = [ nixos-hardware.nixosModules.dell-g3-3779 diff --git a/flake.lock b/flake.lock index a67f873..447734c 100644 --- a/flake.lock +++ b/flake.lock @@ -393,15 +393,16 @@ ] }, "locked": { - "lastModified": 1715278311, - "narHash": "sha256-Z787hdZuwBhQCQOeOmln5j9cCKxDWql7tbF1ukKDFZU=", - "ref": "refs/heads/main", - "rev": "c8ab1e79ba0140bc75731c75177242089506260b", - "revCount": 75, + "lastModified": 1715353627, + "narHash": "sha256-bt/KZsPUlQV1lOZU8vM3QT/05jHftCz88tA9+bXk83s=", + "ref": "fix-prefetch-npm-deps", + "rev": "1cb0b0434d83719d73946b4516475e5ca31a2f2d", + "revCount": 76, "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" }, "original": { + "ref": "fix-prefetch-npm-deps", "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" } diff --git a/os/gaming/default.nix b/os/gaming/default.nix index 006e398..460b4c3 100644 --- a/os/gaming/default.nix +++ b/os/gaming/default.nix @@ -2,7 +2,6 @@ { config = lib.mkIf config.frogeye.gaming { - boot.kernelPackages = pkgs.linuxPackages_latest; # 24.05 6.2 has fix for knock-off DS4 controllers. Should downgrade when I have the spoons. programs.steam.enable = true; hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses services = {