From dc2cfa2fdb9e9b7125a57b3ba5ae0fec338895ac Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 6 Jul 2020 12:36:56 +0800 Subject: [PATCH] nixops: enable network.enableRollback This avoids rebuilding everything if GC has been run between deploys. https://github.com/NixOS/nixops/issues/272 --- nixops/nixops.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixops/nixops.nix b/nixops/nixops.nix index cd64858..7927013 100644 --- a/nixops/nixops.nix +++ b/nixops/nixops.nix @@ -1,4 +1,6 @@ { + network.enableRollback = true; + rpi-1 = import ./rpi.nix { host = "rpi-1"; rpi4 = false; }; rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; }; rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; };