docs: add npins to HowTo instructions

This commit is contained in:
Joachim Ernst 2024-04-05 11:42:17 +02:00 committed by mergify[bot]
parent 611c9ea532
commit 1bdd6edc15

View file

@ -57,6 +57,29 @@ Then add the following to your configuration.nix in the `imports` list:
} }
``` ```
</details>
<details>
<summary>npins</summary>
First add it to [npins](https://github.com/andir/npins):
```console
npins add github nix-community disko
```
Then add the following to your configuration.nix in the `imports` list:
```nix
let
sources = import ./npins;
disko = import sources.disko {};
in
{
imports = [ "${disko}/module.nix" ];
}
```
</details> </details>
<details> <details>
<summary>nix-channel</summary> <summary>nix-channel</summary>