From d9e46a5e2438275f295221df438422e072d39750 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Thu, 26 Jun 2025 17:52:29 +0200 Subject: [PATCH] perso-desktop: Fix amdgpu fail with latest linux-firmware --- hosts/perso-desktop/configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/perso-desktop/configuration.nix b/hosts/perso-desktop/configuration.nix index 5bdf653..58de90e 100644 --- a/hosts/perso-desktop/configuration.nix +++ b/hosts/perso-desktop/configuration.nix @@ -72,4 +72,21 @@ PasswordAuthentication = false; }; }; + + nixpkgs.overlays = [ + (self: super: { + linux-firmware = super.linux-firmware.overrideAttrs (old: rec { + pname = "linux-firmware"; + version = "20250625"; + src = super.fetchFromGitLab { + owner = "kernel-firmware"; + repo = "linux-firmware"; + rev = "cbbce56d6dcc1ec8fb485dfb92c68cb9acd51410"; + hash = "sha256-7XN2g4cnHLnICs/ynt8dCpTJbbBkbOdtRm3by/XrDps="; + }; + }); + }) + ]; + + warnings = [ "linux-firmware pinned to 20250625. Remove it when https://github.com/NixOS/nixpkgs/issues/419838 is fixed." ]; }