mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
docs: add npins to HowTo instructions
This commit is contained in:
1 parent
611c9ea532
commit
1bdd6edc15
1 file changed
+23
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user