Files
disko/lib/types
lassulus 33d5b13d6c bugfix: Detached headers idempotence check (#1286)
## Summary
Detached LUKS headers were not handled correctly by the `_create`
idempotence check in `lib/types/luks.nix`.

The old logic still probed `config.device`. For detached-header setups,
that meant rerun could mis-detect an already-initialized LUKS device and
fall back into luksFormat.

## Fix
Probe the actual LUKS header target instead of the payload device, and
make the create guard depend only on `cryptsetup isLuks` for that
target.

## Test
Add a detached-header regression test that exercises the direct-mode
idempotence path.
2026-10-20 12:51:32 +00:00
..
2025-04-08 15:36:04 +00:00
2025-05-08 09:13:14 +00:00
2025-02-15 10:08:56 +00:00
2026-01-20 12:57:44 +00:00
2025-02-15 10:08:56 +00:00
2025-12-14 04:58:58 +00:00
2025-02-15 10:08:56 +00:00
2025-02-15 10:08:56 +00:00
2026-03-02 09:31:30 -07:00
2025-02-15 10:08:56 +00:00
2026-03-02 09:31:30 -07:00