about summary refs log tree commit diff
path: root/README.md
blob: a925db3b44c892a63de553c46c012dff248447ff (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

```bash
; BUILDHOST=corrino HOSTNAME=corrino make deploy
; BUILDHOST=corrino HOSTNAME=lampadas make deploy
; BUILDHOST=corrino HOSTNAME=lankiveil make deploy
; make switch-caladan
```