mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: migrate away from old nf-deploy script
This commit is contained in:
parent
fcdba6ed34
commit
ad78295a06
8 changed files with 223 additions and 43 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue