about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/alpha/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index a3d8b9d..aa57e87 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -54,6 +54,10 @@
     '';
   };
 
+  boot.initrd.postDeviceCommands = lib.mkAfter ''
+    zfs rollback -r rpool/local/root@blank
+  '';
+
   networking.hostName = "alpha";
   networking.hostId = "641a7b10";