From 0682e4a7fd119da513ab019c15812b1244bbb655 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sun, 14 Jun 2026 17:43:50 -0500 Subject: [PATCH] try the new mount --- configuration.nix | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/configuration.nix b/configuration.nix index 1bb750b..dad0e36 100755 --- a/configuration.nix +++ b/configuration.nix @@ -128,28 +128,25 @@ }; boot.zfs.forceImportRoot = false; - /* - # Delete root on reboot disable for now while broken - boot.initrd.systemd.services = { - rollback = { - description = "Rollback root zfs dataset to blank snapshot"; - wantedBy = [ "initrd.target" ]; - before = [ "sysroot.mount" ]; - after = [ "zfs-import-zroot.service" ]; - path = with pkgs; [ - zfs - ]; + # Delete root on reboot disable for now while broken + boot.initrd.systemd.services = { + rollback = { + description = "Rollback root zfs dataset to blank snapshot"; + wantedBy = [ "initrd.target" ]; + before = [ "sysroot.mount" ]; + after = [ "zfs-import-zroot.service" ]; + path = with pkgs; [ + zfs + ]; - serviceConfig = { - Type = "oneshot"; - ExecStart = '' - zfs rollback -r zroot/root@blank && echo "blank rollback complete" - ''; - }; - - }; + serviceConfig = { + Type = "oneshot"; + ExecStart = '' + zfs rollback -r zroot/root@blank && echo "blank rollback complete" + ''; }; - */ + }; + }; nix = { settings.experimental-features = [