From 58a9d391431de5fc96d8c989bc1e99e98d7c93b4 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 1 Aug 2023 21:24:10 +0900 Subject: feat(systems/cobalt): re-enable auto root rollback --- systems/cobalt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'systems') 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" ]; -- cgit 1.4.1