Merge pull request #62 from yaymukund/document-overlay-usage

Document how to install the binary in a `nix-channel` install.
This commit is contained in:
Ryan Mulligan 2021-10-16 10:07:08 -07:00 committed by GitHub
commit 53aa91b417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -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> {}.agenix ];
}
```
### fetchTarball
Add the following to your configuration.nix: