Disk zapper
Find a file
2025-12-20 14:40:42 +01:00
.envrc init 2025-06-01 16:47:14 +02:00
flake.lock init 2025-06-01 16:47:14 +02:00
flake.nix init 2025-06-01 16:47:14 +02:00
package.nix init 2025-06-01 16:47:14 +02:00
README.md readme 2025-12-20 14:40:42 +01:00
zap fix 2025-07-27 21:41:02 +02:00

Zap

Zap is a simple and mostly interactive disk utility:

# nix run git+https://hack.helveticanonstandard.net/helvetica/zap.git -- /dev/nvme0n1 
Do you want to create a boot partition? [y/N] y
Partition #1 contains a vfat signature.
Which label should the boot file system have? [BOOT] 
Do you want this disk to be encrypted? [y/N] y
Enter password: 
Re-enter password: 
Which label should the LUKS partition have? [cryptmain] 
Which name should the LUKS mapping have? [main] 
Which label should the file system have? [main]
# find /mnt
/mnt
/mnt/boot
/mnt/lost+found