blob: dfc13d3f47fef888ff34adea0af5fc77cd36ffed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# hefe
## Secrets
- Managed using agenix
- Don't forget to add secrets to git!
Create secrets:
```bash
./secret_create.sh [host] [name of secret ending in .age]
```
Edit secrets:
```bash
; EDITOR=hx nix run git+https://github.com/ryantm/agenix -- -e <secret>
```
Print the generated secrets file as follows:
```bash
; nix eval -I nixpkgs=flake:nixpkgs --file secrets.nix
```
## Deploy
Using [deploy-rs](https://github.com/serokell/deploy-rs) to deploy
```bash
; deploy .#corrino
; deploy .#caladan
```
|