diff --git a/docs/HowTo.md b/docs/HowTo.md index e5aa14e..ed19a4a 100644 --- a/docs/HowTo.md +++ b/docs/HowTo.md @@ -57,6 +57,29 @@ Then add the following to your configuration.nix in the `imports` list: } ``` + +
+ npins + +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" ]; + … +} +``` +
nix-channel