mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
docs: add npins to HowTo instructions
This commit is contained in:
parent
611c9ea532
commit
1bdd6edc15
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user