docs(readme): update for deploy-rs

This commit is contained in:
Kat Inskip 2024-01-27 21:50:34 -08:00
parent 02eef0051f
commit 5b1523c21f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -18,19 +18,13 @@ Welcome to the Palace of the Earth Spirits!
## Build and Deploy
```shell
:; export NF_HOST=tewi
:; nf-deploy build
# switch without committing to it...
:; nf-deploy test
# then deploy..!
:; nf-deploy switch
```
The above is just a convenience wrapper around `nixos-rebuild`:
The `-s` disables flake checks.
```shell
:; nixos-rebuild switch --flake .#tewi --target-host tewi --use-remote-sudo
# without trace
deploy -s .#<hostname>
# with trace
deploy -s .#<hostname> -- --show-trace
```
## Editing Secrets