Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor-setup: add instructions for helix #602

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

Schweber
Copy link
Contributor

@Schweber Schweber commented Oct 1, 2024

No description provided.

@inclyc inclyc linked an issue Oct 1, 2024 that may be closed by this pull request
@inclyc inclyc merged commit c38702b into nix-community:main Oct 1, 2024
19 checks passed
@darshanCommits
Copy link

how to add config.options.home_manager.expr option? I'm unable to get autocomplete to work for home-manager.

[language-server.nixd]
command = "nixd"
args = ["--inlay-hints", "--semantic-tokens"]
config.options.home_manager.expr = "(builtins.getFlake '/home/greeed/.dotfiles').homeConfigurations.'greeed'.options"

this is what i tried.

@Schweber
Copy link
Contributor Author

Schweber commented Nov 6, 2024

@darshanCommits I couldn't make it work myself so far, sorry.

@darshanCommits
Copy link

got it working a while ago.
the correct key is config.nixd.options.home-manager.expr
And value being '(builtins.getFlake <flakeDir>).homeConfigurations.<username>.options'

@inclyc inclyc added the documentation Improvements or additions to documentation label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helix editor config example
3 participants