From b5cb1a07c080984d174ed19193ddc9d58d064151 Mon Sep 17 00:00:00 2001 From: Mukund Lakshman Date: Sat, 16 Oct 2021 12:04:16 -0400 Subject: [PATCH] Document how to install the binary in a `nix-channel` install. --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a694af..4ae774a 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ $ nix-channel --add https://github.com/ryantm/agenix/archive/master.tar.gz ageni $ nix-channel --update ``` - Than add the following to your configuration.nix in the `imports` list: + Then add the following to your configuration.nix in the `imports` list: ```nix { @@ -61,6 +61,16 @@ $ nix-channel --update } ``` +#### CLI + + To install the `agenix` binary: + +```nix +{ + environment.systemPackages = [ import {}.agenix ]; +} +``` + ### fetchTarball Add the following to your configuration.nix: