chore: migrate away from old nf-deploy script

This commit is contained in:
arcnmx 2024-01-29 11:33:15 -08:00
parent fcdba6ed34
commit ad78295a06
8 changed files with 223 additions and 43 deletions

View file

@ -25,6 +25,8 @@ The `-s` disables flake checks.
deploy -s .#<hostname>
# with trace
deploy -s .#<hostname> -- --show-trace
# deploy a fresh container
deploy -s .#<hostname> --hostname ct.local
```
## Editing Secrets
@ -36,7 +38,9 @@ sops nixos/systems/tewi/secrets.yaml
### Adding Hosts
```shell
NF_ADDR=10.1.1.xxx nf-deploy sops-keyscan
nf-sops-keyscan <hostname>
# or on a fresh container...
nf-sops-keyscan ct.local
vim .sops.yaml
```
@ -45,5 +49,5 @@ vim .sops.yaml
### Template
```shell
NF_HOST=ct nf-deploy tarball
nf-tarball ct
```