disable reset root

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-16 16:08:23 -06:00
parent 95462db31c
commit 4bef267c13

View file

@ -225,7 +225,7 @@ lib.mkMerge [
# TODO rotate root
}
# Reset root for erase your darlings/impermanence/preservation
(lib.mkIf true {
(lib.mkIf false {
boot.initrd.systemd.services.bcachefs-reset-root = {
description = "Reset bcachefs root subvolume before pivot";
@ -271,6 +271,8 @@ lib.mkMerge [
# 1. Enable Debugging
set -x
echo $PATH
# 2. Define Cleanup Trap (Robust)
cleanup() {
# If the script failed before creating the new root, make sure we create it