mirror of
https://github.com/RGBCube/agenix
synced 2025-07-29 09:47:44 +00:00
doc: add new doc website
* use mmdoc * add github pages action to auto publish * do not edit README for now, will follow up with a commit directs people to the doc site
This commit is contained in:
parent
4828951d9d
commit
657789137c
22 changed files with 602 additions and 3 deletions
27
doc/install-via-niv.md
Normal file
27
doc/install-via-niv.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Install via [niv](https://github.com/nmattia/niv) {#install-via-niv}
|
||||
|
||||
First add it to niv:
|
||||
|
||||
```ShellSession
|
||||
$ niv add ryantm/agenix
|
||||
```
|
||||
|
||||
## Install module via niv
|
||||
|
||||
Then add the following to your `configuration.nix` in the `imports` list:
|
||||
|
||||
```nix
|
||||
{
|
||||
imports = [ "${(import ./nix/sources.nix).agenix}/modules/age.nix" ];
|
||||
}
|
||||
```
|
||||
|
||||
## Install CLI via niv
|
||||
|
||||
To install the `agenix` binary:
|
||||
|
||||
```nix
|
||||
{
|
||||
environment.systemPackages = [ (pkgs.callPackage "${(import ./nix/sources.nix).agenix}/pkgs/agenix.nix" {}) ];
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue