From 4a1d540524e90849d719d642926a3ace482f8be0 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Fri, 27 Oct 2023 20:13:46 +0200 Subject: Add unstable nixpkgs --- hosts/common.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/common.nix b/hosts/common.nix index aa34086..2378352 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -9,11 +9,19 @@ # Enable de facto stable features. nix.settings.experimental-features = ["nix-command" "flakes"]; + nixpkgs.overlays = [ + # Use local overlays. + flakeOutputs.overlays.additions + flakeOutputs.overlays.modifications + + # Add unstable nixpkgs. + (final: prev: {unstable = flakeInputs.unstable-nixpkgs.legacyPackages.${pkgs.system};}) + ]; + # Use overlays from this repo for building system configuration as well as # system-wide. # # See: https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH - nixpkgs.overlays = [flakeOutputs.overlays.additions flakeOutputs.overlays.modifications]; nix.nixPath = options.nix.nixPath.default ++ ["nixpkgs-overlays=${flakeInputs.self}/overlays/compat.nix"]; # Set ZSH as the shell. -- cgit v1.2.3