diff options
Diffstat (limited to '')
-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: { |