Skip to content

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantm committed Sep 4, 2020
1 parent f386250 commit 5e68735
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ used for editing and rekeying the secret files.
* can use public keys available on GitHub for users (for example, https://github.com/ryantm.keys)
* No GPG
* Very little code, so it should be easy for you to audit
* Encrypted secrets are stored in the Nix store, so a separate distribution mechanism is not necessary

## Installation

Expand Down Expand Up @@ -111,6 +112,15 @@ You don't need to install it:
nix run github:ryantm/agenix -- --help
```

if you want to (change the system based on your system):

```nix
{
environment.systemPackages = [ agenix.defaultPackage.x86_64-linux ];
}
```



## Tutorial

Expand Down Expand Up @@ -138,7 +148,7 @@ nix run github:ryantm/agenix -- --help
```
4. Add secret to NixOS module config:
```nix
age.secrets.secret1 = ../secrets/secret1.age;
age.secrets.secret1.file = ../secrets/secret1.age;
```
5. NixOS rebuild or use your deployment too like usual.

Expand Down

0 comments on commit 5e68735

Please sign in to comment.