about summary refs log tree commit diff
path: root/systems
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-01 21:24:10 +0900
committersefidel <contact@sefidel.net>2023-08-01 21:24:10 +0900
commit58a9d391431de5fc96d8c989bc1e99e98d7c93b4 (patch)
tree2b626b959c79e3375497561b1e710461b18af60c /systems
parente07d44bba098c68185a732590f527d17b660ffa7 (diff)
downloadinfra-58a9d391431de5fc96d8c989bc1e99e98d7c93b4.tar.gz
infra-58a9d391431de5fc96d8c989bc1e99e98d7c93b4.zip
feat(systems/cobalt): re-enable auto root rollback
Diffstat (limited to 'systems')
-rw-r--r--systems/cobalt/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index 2210f25..5cb4eb5 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -53,9 +53,9 @@ in
   fileSystems."/boot-fallback".options = [ "nofail" ];
 
   # Erase your darlings
-  # boot.initrd.postDeviceCommands = lib.mkAfter ''nix systemd environ
-  # zfs rollback -r rpool/local/root@blank
-  # '';
+  boot.initrd.postDeviceCommands = lib.mkAfter ''
+    zfs rollback -r rpool/local/root@blank
+  '';
 
   # NOTE: replace these to boot.initrd.availableKernelModules?
   boot.kernelModules = [ "e1000e" ];