diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/common.nix | 10 |
1 files changed, 9 insertions, 1 deletions
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. |