mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 06:39:09 -04:00
Compare commits
1 Commits
feature/cr
...
feature/fi
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b24ac3edb |
@@ -22,7 +22,22 @@
|
||||
|
||||
boot = {
|
||||
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;
|
||||
};
|
||||
|
||||
|
||||
17
flake.lock
generated
17
flake.lock
generated
@@ -74,6 +74,22 @@
|
||||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1763774007,
|
||||
@@ -112,6 +128,7 @@
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-linux-firmware-20251011": "nixpkgs-linux-firmware-20251011",
|
||||
"nixpkgs-master": "nixpkgs-master",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"sops-nix": "sops-nix",
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
||||
systems.url = "github:nix-systems/default-linux";
|
||||
|
||||
nixpkgs-linux-firmware-20251011.url = "github:NixOS/nixpkgs/f9430900368d5a7346e30e6ecc7b26c9f7cc35cf";
|
||||
|
||||
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
||||
|
||||
home-manager = {
|
||||
@@ -82,6 +84,7 @@
|
||||
jeeves = lib.nixosSystem {
|
||||
modules = [
|
||||
./systems/jeeves
|
||||
./systems/jeeves/linux-firmware-20251011.nix
|
||||
];
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
};
|
||||
|
||||
11
systems/jeeves/linux-firmware-20251011.nix
Normal file
11
systems/jeeves/linux-firmware-20251011.nix
Normal 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 ];
|
||||
}
|
||||
Reference in New Issue
Block a user