Open
Conversation
ae5a74a to
190645f
Compare
Mic92
reviewed
Jan 20, 2026
nix/clan-module.nix
Outdated
| package = inputs.niks3.packages.${pkgs.system}.default; | ||
| }; | ||
| # authTokenFile = config.clan.core.vars.generators.niks3-api-token.files."token".path; | ||
| # package = inputs.niks3.packages.${pkgs.system}.default; |
Member
There was a problem hiding this comment.
In clan we do set self in specialArgs. A bit of a hacky fix would be to do:
package = lib.mkIf (self.inputs ? niks3) (lib.mkDefault self.inputs.niks3.${pkgs.system}.default);
Contributor
Author
There was a problem hiding this comment.
ah, self is the toplevel flake? that was the info i was missing, thanks
9c8b884 to
eef700f
Compare
Contributor
Author
|
@Mic92 i added a super basic option doc thing in the last commit, with the split options the approach of "look at the source code" wont work. IMO it would be too hard for people to parse 2 separate Nix files, especially with the mapping i have to do. Not sure how we could have MD option docs for this repo, ive never done that. Any suggestions? |
09b75b5 to
ac59195
Compare
ee61f4b to
fee3b72
Compare
fee3b72 to
0c5b2e2
Compare
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
Signed-off-by: magic_rb <richard@brezak.sk>
7bc3444 to
fbf91b5
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new module options doc rendered