Skip to content

Commit 81394b5

Browse files
committed
docs: update nix docs
1 parent 3eaa417 commit 81394b5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,15 @@ Configuration file (`~/.config/mcphub/servers.json`) is watched for changes and
335335

336336
## Nix
337337

338-
### Nixpkgs install
338+
<details>
339+
<summary>Nixpkgs install</summary>
339340

340341
> coming...
341342
342-
### Flake install
343+
</details>
344+
345+
<details>
346+
<summary> Flake install</summary>
343347

344348
Just add it to your NixOS flake.nix or home-manager:
345349

@@ -359,6 +363,7 @@ inputs.mcphub-nvim.packages."${system}".default
359363
and add the setup function in [lua code](https://nixos.wiki/wiki/Neovim#Note_on_Lua_plugins)
360364

361365
### Nixvim example
366+
362367
[Nixvim](https://github.com/nix-community/nixvim) example:
363368

364369
```nix
@@ -379,6 +384,10 @@ and add the setup function in [lua code](https://nixos.wiki/wiki/Neovim#Note_on_
379384
mcphub-nvim = inputs.mcphub-nvim.packages."${system}".default;
380385
}
381386
```
387+
388+
</details>
389+
390+
382391
## 🚀 Usage
383392

384393
Open the MCPHub UI to manage servers, test tools and monitor status:

0 commit comments

Comments
 (0)