diff options
author | Linnnus <[email protected]> | 2023-10-01 18:56:59 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-01 18:56:59 +0200 |
commit | 280aa48893458f0ae980c87fed5e733373ccec9d (patch) | |
tree | 0f89bf52e846124db5c3b72430a5c2b98e49c312 /hosts | |
parent | 7451c6a93b42ad1ae4a1a95664c2d8a6bdb11f72 (diff) |
Export pkgs and overlays
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/common.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/common.nix b/hosts/common.nix index 5a9bc52..eefc667 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -1,6 +1,6 @@ # Shared configuraion regardless of hosts. -{ pkgs, options, flakeInputs, ... }: +{ pkgs, options, flakeInputs, flakeOutputs, ... }: { # Enable de facto stable features. @@ -10,8 +10,8 @@ # system-wide. # # See: https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH - nixpkgs.overlays = (import ../pkgs/overlays.nix); - nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs-overlays=${flakeInputs.self}/pkgs/overlays.nix" ]; + 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. # https://nixos.wiki/wiki/Command_Shell#Changing_default_shelltrue |