mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +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
|
|
@ -14,12 +14,8 @@
|
|||
"nixpkgs"
|
||||
"home-manager"
|
||||
"nix-darwin"
|
||||
# "nixos-hardware"
|
||||
"nix-index-database"
|
||||
# "nixvim"
|
||||
"oc"
|
||||
"nix-agent-wire"
|
||||
"skills"
|
||||
# Other inputs are managed by npins (see ./npins/)
|
||||
# Update them with: npins update
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue