diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | hosts/ginaz/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/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: { |