nero: backport older linux-firmware to work around GCN video decode issues

This commit is contained in:
2026-08-30 12:17:11 -04:00
parent 2c36ec7c38
commit f66312d479
2 changed files with 31 additions and 0 deletions
Generated
+17
View File
@@ -495,6 +495,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-firmware": {
"locked": {
"lastModified": 1782201461,
"narHash": "sha256-41VI8i5RESlcU7+LdPQ9ibz+4HQWixlE6wat2IYPrE0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "220e781eee89fa86f26d05c40a57eea1c691adec",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "220e781eee89fa86f26d05c40a57eea1c691adec",
"type": "github"
}
},
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1785031560, "lastModified": 1785031560,
@@ -848,6 +864,7 @@
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_10", "nixpkgs": "nixpkgs_10",
"nixpkgs-firmware": "nixpkgs-firmware",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-xr": "nixpkgs-xr", "nixpkgs-xr": "nixpkgs-xr",
"scopebuddy": "scopebuddy" "scopebuddy": "scopebuddy"
+14
View File
@@ -2,6 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-firmware.url = "github:NixOS/nixpkgs?rev=220e781eee89fa86f26d05c40a57eea1c691adec";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-26.05"; url = "github:nix-community/home-manager/release-26.05";
@@ -39,6 +40,7 @@
self, self,
nixpkgs, nixpkgs,
nixpkgs-xr, nixpkgs-xr,
nixpkgs-firmware,
home-manager, home-manager,
nix-darwin, nix-darwin,
nix-flatpak, nix-flatpak,
@@ -58,6 +60,9 @@
users.frank = ./home/frank.nix; users.frank = ./home/frank.nix;
}; };
}; };
nixos-system = "x86_64-linux";
nixos-pkgs = nixpkgs.legacyPackages.${nixos-system};
in in
{ {
nixosConfigurations = { nixosConfigurations = {
@@ -74,6 +79,15 @@
./hosts/nero/hardware.nix ./hosts/nero/hardware.nix
./hosts/nero/configuration.nix ./hosts/nero/configuration.nix
{
nixpkgs.overlays = [
(final: prev: {
linux-firmware =
nixpkgs-firmware.legacyPackages.${nixos-pkgs.stdenv.hostPlatform.system}.linux-firmware;
})
];
}
]; ];
}; };