mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-10 16:45:57 +08:00
Switch 17 flake inputs to npins for faster nix evaluation
flake.lock: 87 → 8 nodes (1595 → 164 lines) Only 6 flake inputs remain: flake-parts, nixpkgs, nix-darwin, home-manager, nixos-unified, agenix. Everything else is pinned via npins and lazily evaluated through flake-compat, so `nix develop` and `nix run` no longer fetch/resolve 80+ transitive dependency nodes. Modules are unchanged — npins-derived inputs are merged into the `inputs` attrset passed to mkFlake, preserving the existing `flake.inputs.foo` / `inputs.foo` interface.
This commit is contained in:
parent
35ac61cfdc
commit
e152445ec8
6 changed files with 545 additions and 1483 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
|
@ -1,2 +1,4 @@
|
|||
flake.lock linguist-generated=true
|
||||
*.age linguist-generated=true
|
||||
npins/default.nix linguist-generated=true
|
||||
npins/sources.json linguist-generated=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue