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:
Felix Uhl committed 2024-11-06 21:16:18 +01:00
1 parent daca7be309
commit 94bc0f5bb0
5 files changed
+76 -10

No files matched your search

+1 -1
View File
@@ -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 ''