Skip to content

Commit

Permalink
docs: add flake-parts example
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Apr 24, 2024
1 parent 3f68dea commit ef9cd71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nixd/docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ In our option system, you need to specify which option set you'd like to use.
// By default there is no home-manager options completion, thus you can add this entry.
"home-manager": {
"expr": "(builtins.getFlake \"/home/lyc/flakes\").homeConfigurations.\"lyc@adrastea\".options"
},

// For flake-parts opitons.
// Firstly read the docs here to enable "debugging", exposing declarations for nixd.
// https://flake.parts/debug
"flake-parts": {
"expr": "(builtins.getFlake \"/path/to/your/flake\").debug.options"
}
}
}
Expand Down

0 comments on commit ef9cd71

Please sign in to comment.