diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/overlays/default.nix b/overlays/default.nix index 6770529..8437fef 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,13 @@ # This file defines overlays +# The following overlays must still be included in each system's respective nixpkgs.overlays (i.e. vim hosts/*/default.nix ) +# +# nixpkgs.overlays = [ +# outputs.overlays.additions +# outputs.overlays.modifications +# outputs.overlays.master-packages +# outputs.overlays.stable-packages +# ] + {inputs, ...}: { # This one brings our custom packages from the 'pkgs' directory additions = final: _prev: import ../pkgs final.pkgs; @@ -16,7 +25,7 @@ # be accessible through 'pkgs.master' master-packages = final: _prev: { master = import inputs.nixpkgs-master { - system = final.system; + inherit (final) system; config.allowUnfree = true; }; }; @@ -25,7 +34,7 @@ # be accessible through 'pkgs.stable' stable-packages = final: _prev: { stable = import inputs.nixpkgs-stable { - system = final.system; + inherit (final) system; config.allowUnfree = true; }; }; |