mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
mode destroy: Add confirmation dialogue
The new confirmation dialogue is only shown for the new outputs introduced in the previous commits. The existing outputs do not change behavior to keep backwards compatibility. Fixes #725
This commit is contained in:
1 parent
daca7be309
commit
94bc0f5bb0
5 files changed
+76
-10
No files matched your search
@@ -84,7 +84,7 @@ let
|
||||
${lib.optionalString diskoCfg.testMode ''
|
||||
export IN_DISKO_TEST=1
|
||||
''}
|
||||
${lib.getExe systemToInstall.config.system.build.destroyFormatMount}
|
||||
${lib.getExe systemToInstall.config.system.build.destroyFormatMount} --yes-wipe-all-disks
|
||||
'';
|
||||
|
||||
installer = lib.optionalString cfg.copyNixStore ''
|
||||
|
||||
Reference in new issue
Block a user