diff options
author | Alan Pearce | 2024-06-06 13:29:21 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-06 13:29:21 +0200 |
commit | dc48f429240cbacdc5a3dff6b698fc297e2ab17c (patch) | |
tree | d529625ad83dc03854911f5ad2a1362dee038057 /sources.nix | |
parent | e117d4f464b801ca7905285bc158a0dcdbf35841 (diff) | |
download | nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.tar.lz nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.tar.zst nixfiles-dc48f429240cbacdc5a3dff6b698fc297e2ab17c.zip |
include local sources in pinned nix path
Diffstat (limited to 'sources.nix')
-rw-r--r-- | sources.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sources.nix b/sources.nix new file mode 100644 index 00000000..8bcc5a4f --- /dev/null +++ b/sources.nix @@ -0,0 +1,15 @@ +let + sources = import ./npins; + pkgs = import sources.nixpkgs { }; + inherit (import ./lib { inherit pkgs; }) mkNixPath fromSources; + + allSources = { + personal = ./packages; + nixpkgs-overlays = ./overlays; + private = ./private; + } // (fromSources sources); +in +{ + sources = allSources; + nixPath = mkNixPath allSources; +} |