diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 01:48:16 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 01:48:16 -0800 |
commit | 4eabe70add5dc84c4a98b5aaaad1434803014a7e (patch) | |
tree | d389e7090d96aab23dd1d2d19014c24edc54b0aa | |
parent | 1b56fca7fd796f1a4b8ba1f5adaea00ab7e90406 (diff) | |
download | nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar.gz nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar.bz2 nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar.lz nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar.xz nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.tar.zst nix-4eabe70add5dc84c4a98b5aaaad1434803014a7e.zip |
Pin kernel to 6.10 @darkstar
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | hosts/darkstar/default.nix | 3 | ||||
-rw-r--r-- | overlays/default.nix | 8 |
3 files changed, 12 insertions, 2 deletions
@@ -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/darkstar/default.nix b/hosts/darkstar/default.nix index 26c6c01..d7839c0 100644 --- a/hosts/darkstar/default.nix +++ b/hosts/darkstar/default.nix @@ -4,7 +4,7 @@ kernel.sysctl = { "net.ipv4.ip_forward" = true; }; - kernelPackages = pkgs.linuxPackages_6_10; + kernelPackages = pkgs."67e692392".linuxPackages_6_10; loader = { efi = { canTouchEfiVariables = true; @@ -86,6 +86,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..aaab968 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: { |