From 1bdd6edc151ba68f7f8ccc174c366fadf1504391 Mon Sep 17 00:00:00 2001 From: Joachim Ernst Date: Fri, 5 Apr 2024 11:42:17 +0200 Subject: [PATCH] docs: add npins to HowTo instructions --- docs/HowTo.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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