about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-02 02:39:58 +0900
committersefidel <contact@sefidel.net>2023-02-02 02:39:58 +0900
commitcf86cf37ea7413471b9c4461f4816206a305e7b9 (patch)
treeb0d01f3a5f78e2862b9b1994c962ff262d698dc8 /nixos
parent5a0585933312a80ddb391eb19d0829ff6464e3d1 (diff)
downloadnixrc-cf86cf37ea7413471b9c4461f4816206a305e7b9.tar.gz
nixrc-cf86cf37ea7413471b9c4461f4816206a305e7b9.zip
fix(nixos/alpha): actually erase my darlings
Diffstat (limited to 'nixos')
-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";