Skip to content
Discussion options

You must be logged in to vote

There's no magic, your intuition is correct, if you add the flake-file.inputs.nix-homebrew.url, after running nix run .#write-flake, then you access it via inputs.nix-homebrew (NOT inputs.flake-file.inputs.nix-homebrew that does not exist), inputs come from your flake manifest. So there's no magic regarding how inputs are read.

Anything that you previously did in a nix-darwin setup, translates directly into Den:

{ inputs, ... }: {
  den.aspects.myhost.darwin = {
    # here nothing changes.
    imports = [ inputs.nix-homebrew.blabla ];
  };
}

Maybe I should just used a short example like this, instead of trying to paste your previous code to make the answer clear.

Also, looking at your rep…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@bennyandresen
Comment options

@bennyandresen
Comment options

@vic
Comment options

vic Nov 17, 2025
Maintainer

Answer selected by bennyandresen
@bennyandresen
Comment options

@bennyandresen
Comment options

@vic
Comment options

vic Nov 17, 2025
Maintainer

@vic
Comment options

vic Nov 17, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
2 participants