Skip to content

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
@kumawatdarshan
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.

@kumawatdarshan
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