diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-28 14:20:39 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-28 14:20:39 +0200 |
| commit | e1e1dfcaedbd9c6920fb111a81edb196fa6049fb (patch) | |
| tree | 4fdda766729c893b2f0be7cde38e0546993784e7 /npins/full.nix | |
| parent | treewide: Format (diff) | |
| download | nixos-config-e1e1dfcaedbd9c6920fb111a81edb196fa6049fb.zip | |
treewide: Use unflake to de-duplicate flake inputs
Otherwise, we still have a lot of `nixpkgs` in the closure (they are just not visible with npins).
Diffstat (limited to 'npins/full.nix')
| -rw-r--r-- | npins/full.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/npins/full.nix b/npins/full.nix index 71540c0f..547b32cf 100644 --- a/npins/full.nix +++ b/npins/full.nix @@ -1,8 +1,10 @@ _: let - sources = import ./default.nix {}; -in { - inherit sources; + sources = import ../unflake.nix; + load = input: sources."${input}"; + loadFlake = load; - loadFlake = flakeInput: (import sources.flake-compat {src = sources."${flakeInput}";}).outputs; - load = input: import sources."${input}" {}; + # loadFlake = flakeInput: (import sources.flake-compat {src = sources."${flakeInput}";}).outputs; + # load = input: import sources."${input}" {}; +in { + inherit sources load loadFlake; } |
