aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-03 21:58:47 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-03 21:58:47 -0800
commit20c6421b7102dbe25d313c33c1c6ee1c9ec66969 (patch)
tree63fac0fa16253d9b28d374912f9de05975bb0807
parent9a8e6128effd15431144d79a540ecf4b30b20f7f (diff)
downloadnix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar.gz
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar.bz2
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar.lz
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar.xz
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.tar.zst
nix-20c6421b7102dbe25d313c33c1c6ee1c9ec66969.zip
Document and clean up overlays
-rw-r--r--overlays/default.nix13
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;
};
};