mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 09:40:47 +03:00
Document how to install the binary in a nix-channel
install.
This commit is contained in:
parent
daf1d77398
commit
b5cb1a07c0
1 changed files with 11 additions and 1 deletions
12
README.md
12
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> {}.agenix ];
|
||||
}
|
||||
```
|
||||
|
||||
### fetchTarball
|
||||
|
||||
Add the following to your configuration.nix:
|
||||
|
|
Loading…
Reference in a new issue