locked linux-firmware and 6.12.52

This commit is contained in:
2025-11-23 11:17:36 -05:00
parent 27565173d4
commit 7b24ac3edb
4 changed files with 47 additions and 1 deletions

View File

@@ -22,7 +22,22 @@
boot = { boot = {
tmp.useTmpfs = true; tmp.useTmpfs = true;
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_12; kernelPackages = lib.mkDefault (
pkgs.linuxPackages_6_12.extend (
self: super: {
kernel = super.kernel.override {
argsOverride = {
version = "6.12.52";
modDirVersion = "6.12.52";
src = pkgs.fetchurl {
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.52.tar.xz";
sha256 = "sha256-tIUM9nCgMscPOLcTon1iBGxfdHyvAoxfULGPmGBqnrE=";
};
};
};
}
)
);
zfs.package = lib.mkDefault pkgs.zfs_2_3; zfs.package = lib.mkDefault pkgs.zfs_2_3;
}; };

17
flake.lock generated
View File

@@ -74,6 +74,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-linux-firmware-20251011": {
"locked": {
"lastModified": 1760099975,
"narHash": "sha256-/fXH2TIVxVgmBbPouQNMsEPfUFB8Z9n6T9t40HMeC/k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f9430900368d5a7346e30e6ecc7b26c9f7cc35cf",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f9430900368d5a7346e30e6ecc7b26c9f7cc35cf",
"type": "github"
}
},
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1763774007, "lastModified": 1763774007,
@@ -112,6 +128,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-linux-firmware-20251011": "nixpkgs-linux-firmware-20251011",
"nixpkgs-master": "nixpkgs-master", "nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",

View File

@@ -19,6 +19,8 @@
nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-master.url = "github:nixos/nixpkgs/master";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";
nixpkgs-linux-firmware-20251011.url = "github:NixOS/nixpkgs/f9430900368d5a7346e30e6ecc7b26c9f7cc35cf";
nixos-hardware.url = "github:nixos/nixos-hardware/master"; nixos-hardware.url = "github:nixos/nixos-hardware/master";
home-manager = { home-manager = {
@@ -82,6 +84,7 @@
jeeves = lib.nixosSystem { jeeves = lib.nixosSystem {
modules = [ modules = [
./systems/jeeves ./systems/jeeves
./systems/jeeves/linux-firmware-20251011.nix
]; ];
specialArgs = { inherit inputs outputs; }; specialArgs = { inherit inputs outputs; };
}; };

View File

@@ -0,0 +1,11 @@
{ inputs, ... }:
let
linuxFirmwareOverlay = final: prev: {
linux-firmware =
inputs.nixpkgs-linux-firmware-20251011.legacyPackages.${final.system}.linux-firmware;
};
in
{
nixpkgs.overlays = [ linuxFirmwareOverlay ];
}