disable reset root
This commit is contained in:
parent
95462db31c
commit
4bef267c13
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue