Skip to content

better autoconfigure and API#6

Merged
agustinmista merged 4 commits into
agustinmista:mainfrom
mrjones2014:mrj/push-vkttrwtuqplv
Feb 18, 2026
Merged

better autoconfigure and API#6
agustinmista merged 4 commits into
agustinmista:mainfrom
mrjones2014:mrj/push-vkttrwtuqplv

Conversation

@mrjones2014
Copy link
Copy Markdown
Contributor

See #1

This is quite a bit of refactoring, no need to take it all as-is, I'm happy to continue working on it till you're happy with it.

I left the LSP config out of this PR because that is pretty jank and not guaranteed to work outside of my own specific setup keyboards 😅 (but I think we can figure out how to do it in the long term)

@mrjones2014
Copy link
Copy Markdown
Contributor Author

I also added an example for doing multiple keyboards with one flake. It just uses the default configs from the qmk_firmware tree as the example code.

@mrjones2014
Copy link
Copy Markdown
Contributor Author

Actually today I figured out how to do the LSP setup in a lot less janky way, so I'll add that shortly.

@mrjones2014
Copy link
Copy Markdown
Contributor Author

I know this is a big rewrite so let me know if you'd rather not merge this, no hard feelings

@agustinmista
Copy link
Copy Markdown
Owner

Hey! ✋

Sorry again about the delay. For some reason, I don't get any notifications when something happens on this particular repository.

Anyway, thanks again for your contribution! I will take a look at it and let you know what I think 😸

Copy link
Copy Markdown
Owner

@agustinmista agustinmista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent! Thanks again for taking the time 😃

I'd be very happy to merge this asap, but first we need to go over a couple of questions, fixing a small bug, and some customary bikeshedding.

Comment thread nix/compiledb.nix Outdated
Comment thread flake.nix
Comment thread README.md Outdated
Comment thread nix/compiledb.nix Outdated
Comment thread flake.nix Outdated
Comment thread templates/multiple_keyboards/flake.nix
@mrjones2014 mrjones2014 force-pushed the mrj/push-vkttrwtuqplv branch from 3fcef00 to 809794b Compare February 18, 2026 14:16
@mrjones2014
Copy link
Copy Markdown
Contributor Author

okay @agustinmista I think I've addressed all your feedback now!

@agustinmista agustinmista self-requested a review February 18, 2026 18:51
{
packages.default = compile {
nixcaps = inputs.nixcaps.lib.${system};
ergodoz_ez = {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a typo. I will fix it in post, no biggie.

Comment on lines +36 to +37
moonlander-compile-db = nixcaps.mkCompileDb moonlander;
togkey_pad_plus-compile-db = nixcaps.mkCompileDb togkey_pad_plus;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a good idea to move these into a let inside the devShell definition in the future.

@agustinmista
Copy link
Copy Markdown
Owner

This is great. Thanks a lot!

There's one CI job failing because the multiple_keyboards template doesn't have a default derivation, but I will fix it in post.

@agustinmista agustinmista merged commit 0338ebe into agustinmista:main Feb 18, 2026
5 of 8 checks passed
@mrjones2014 mrjones2014 deleted the mrj/push-vkttrwtuqplv branch February 18, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants