mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
docs(readme): update for deploy-rs
This commit is contained in:
parent
02eef0051f
commit
5b1523c21f
1 changed files with 5 additions and 11 deletions
16
readme.md
16
readme.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue