Skip to content

Commit f6ca743

Browse files
authored
nixd/docs: add example for non-flakes home-manager options (#586)
1 parent c37ef77 commit f6ca743

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nixd/docs/configuration.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,14 @@ In our option system, you need to specify which option set you'd like to use.
235235
}
236236
```
237237

238+
If you aren't a flakes user with standalone home-manager with a vanilla install then the following expression should make home-manager options appear:
238239

240+
```jsonc
241+
{
242+
"options": {
243+
"home-manager": {
244+
"expr": "(import <home-manager/modules> { configuration = ~/.config/home-manager/home.nix; pkgs = import <nixpkgs> {}; }).options"
245+
}
246+
}
247+
}
248+
```

0 commit comments

Comments
 (0)