nixops: enable network.enableRollback

This avoids rebuilding everything if GC has been run between deploys.
https://github.com/NixOS/nixops/issues/272
This commit is contained in:
Sebastien Bourdeauducq 2020-07-06 12:36:56 +08:00
parent e0e00de13e
commit dc2cfa2fdb
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
{ {
network.enableRollback = true;
rpi-1 = import ./rpi.nix { host = "rpi-1"; rpi4 = false; }; rpi-1 = import ./rpi.nix { host = "rpi-1"; rpi4 = false; };
rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; }; rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; };
rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; }; rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; };