Skip to content
Discussion options

You must be logged in to vote

btw, here's how I was thinking about it:

flake-file.inputs options are project level, so if we'd like to have something like "only give me the inputs needed if I want my-laptop.nixos", we would likely need a custom class inputs, so we can do

inputs = den.lib.aspects.resolve "inputs" [] some-aspect;

this would return a module having all the inputs classes from some-aspect and its dependencies, then we would need to provide that to flake-file, maybe we need a custom nix run .#write-aspect-inputs den.aspects.some-aspect app, but that would overwrite the project flake.nix, so we need to consider specifying an output to that app.

@baltimore-balls, I like the idea of this feature, thanks for sh…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@baltimore-balls
Comment options

@madeupandprobablydoesnotexist
Comment options

@vic
Comment options

vic Mar 26, 2026
Maintainer

@baltimore-balls
Comment options

Comment options

You must be logged in to vote
2 replies
@Steven-S1020
Comment options

@vic
Comment options

vic Mar 30, 2026
Maintainer

Answer selected by baltimore-balls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants