Disk zapper
  • Shell 68.3%
  • Nix 31.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-19 22:45:43 +02:00
flake.lock init 2026-08-19 22:45:43 +02:00
flake.nix init 2026-08-19 22:45:43 +02:00
package.nix init 2026-08-19 22:45:43 +02:00
README.md init 2026-08-19 22:45:43 +02:00
zap init 2026-08-19 22:45:43 +02:00

Zap

Zap is a simple and mostly interactive disk utility:

# nix run git+https://hack.moontide.ink/lukas/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