about summary refs log tree commit diff
path: root/README.md
blob: ab237deb0da39af45f84b53302566d73793eff94 (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
34
35
# 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
; deploy .#lampadas
; deploy .#lernaeus
```