Skip to content

Commit

Permalink
Add example for non-flakes home-manager options
Browse files Browse the repository at this point in the history
  • Loading branch information
benjumanji committed Aug 21, 2024
1 parent c37ef77 commit 68e44f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nixd/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,14 @@ In our option system, you need to specify which option set you'd like to use.
}
```

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:

```jsonc
{
"options": {
"home-manager": {
"expr": "(import <home-manager/modules> { configuration = ~/.config/home-manager/home.nix; pkgs = import <nixpkgs> {}; }).options"
}
}
}
```

0 comments on commit 68e44f6

Please sign in to comment.