Skip to content

Commit

Permalink
update nixd settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JRMurr committed May 28, 2024
1 parent 90f213a commit 6b9ba23
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
21 changes: 0 additions & 21 deletions .nixd.json

This file was deleted.

22 changes: 21 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
{}
{
"nix.serverSettings": {
"nixd": {
// Tell the language server your desired option set, for completion
// This is lazily evaluated.
"options": {
// Map of eval information
// If this is ommited, default search path (<nixpkgs>) will be used.
"nixos": {
// This name "nixos" could be arbitary.
// The expression to eval, intepret it as option declarations.
"expr": "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.nixos-john.options"
},

"home-manager": {
"expr": "(builtins.getFlake \"/etc/nixos\").homeConfigurations.\"jrmurray\".options"
}
}
}
}
}

0 comments on commit 6b9ba23

Please sign in to comment.