From 20c6421b7102dbe25d313c33c1c6ee1c9ec66969 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 3 Nov 2024 21:58:47 -0800 Subject: Document and clean up overlays --- overlays/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'overlays') 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; }; }; -- cgit v1.2.3