Add rollback on failure
This commit is contained in:
parent
e19bc8eddb
commit
9a5f573be1
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
# nix configuration
|
||||
|
||||
Use at your own risk.
|
||||
|
||||
## Deploying
|
||||
|
||||
The `./deploy` script generates a NixOS configuration that pins the current git `HEAD` of this project and copies the resulting `configuration.nix` to the destionation host. Then it tests the new confiurations and rolls back if it fails.
|
||||
|
||||
## TODO
|
||||
|
||||
- Use `nix-copy-closure`?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue