mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
docs: add npins to HowTo instructions
This commit is contained in:
parent
611c9ea532
commit
1bdd6edc15
1 changed files with 23 additions and 0 deletions
|
@ -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>
|
||||
<summary>nix-channel</summary>
|
||||
|
|
Loading…
Reference in a new issue