Skip to content

Commit

Permalink
docs(configuration): Add configuration for a perSystem flake-parts …
Browse files Browse the repository at this point in the history
…option (#485)
  • Loading branch information
shivaraj-bh authored May 1, 2024
1 parent 349be90 commit f42a865
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixd/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ In our option system, you need to specify which option set you'd like to use.
// https://flake.parts/debug
"flake-parts": {
"expr": "(builtins.getFlake \"/path/to/your/flake\").debug.options"
},
// For a `perSystem` flake-parts option:
"flake-parts2": {
"expr": "(builtins.getFlake \"/path/to/your/flake\").currentSystem.options"
}
}
}
Expand Down

0 comments on commit f42a865

Please sign in to comment.