aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-07 16:35:13 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-07 16:35:13 -0800
commit96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e (patch)
tree038810c5cdaec155032c16d6a78b3cb968160645
parent8207397eacd38b2f49faf4f77a5d0759d1fd556e (diff)
downloadnix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar.gz
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar.bz2
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar.lz
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar.xz
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.tar.zst
nix-96d7408d67b2cf97b9e81a4d8a70ae6cfba81a2e.zip
Add old nixpkgs for working 6.10 kernel
Diffstat (limited to '')
-rw-r--r--flake.nix3
-rw-r--r--hosts/ginaz/default.nix3
-rw-r--r--overlays/default.nix8
3 files changed, 12 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 9920c96..f5316e3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -21,6 +21,7 @@
nixos-hardware.url = "github:nixos/nixos-hardware";
# per https://nixos-and-flakes.thiscute.world/nixos-with-flakes/downgrade-or-upgrade-packages
+ nixpkgs-67e692392.url = "github:nixos/nixpkgs/67e69239226f37168d1adb8d29bd61150756a03e";
nixpkgs-master.url = "github:nixos/nixpkgs";
nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -37,7 +38,7 @@
};
- outputs = { home-manager-stable, home-manager, nixos-hardware, nixpkgs-master, nixpkgs-stable, nixpkgs, nvidia-patch, self, sops-nix, ... } @ inputs: let
+ outputs = { home-manager-stable, home-manager, nixos-hardware, nixpkgs-67e692392, nixpkgs-master, nixpkgs-stable, nixpkgs, nvidia-patch, self, sops-nix, ... } @ inputs: let
inherit (self) outputs;
systems = [
#"aarch64-linux"
diff --git a/hosts/ginaz/default.nix b/hosts/ginaz/default.nix
index 8083479..132c92a 100644
--- a/hosts/ginaz/default.nix
+++ b/hosts/ginaz/default.nix
@@ -1,7 +1,7 @@
{ config, inputs, outputs, pkgs, ... }: {
boot = {
initrd.kernelModules = [ "amdgpu" "zfs" ];
- kernelPackages = pkgs.linuxPackages_6_10;
+ kernelPackages = pkgs.67e692392.linuxPackages_6_10;
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
@@ -49,6 +49,7 @@
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
+ outputs.overlays.67e692392-packages
outputs.overlays.master-packages
outputs.overlays.stable-packages
];
diff --git a/overlays/default.nix b/overlays/default.nix
index 8437fef..22f8307 100644
--- a/overlays/default.nix
+++ b/overlays/default.nix
@@ -4,6 +4,7 @@
# nixpkgs.overlays = [
# outputs.overlays.additions
# outputs.overlays.modifications
+# outputs.overlays.67e692392-packages
# outputs.overlays.master-packages
# outputs.overlays.stable-packages
# ]
@@ -21,6 +22,13 @@
# });
};
+ 67e692392-packages = final: _prev: {
+ 67e692392 = import inputs.nixpkgs-67e692392 {
+ inherit (final) system;
+ config.allowUnfree = true;
+ };
+ };
+
# When applied, the master nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.master'
master-packages = final: _prev: {