Files
disko/lib/types
yottanami 9d88a40600 swap: allow randomEncryption to take an attrset for extra config
randomEncryption was typed as a plain bool, which just passed
enable/allowDiscards down to NixOS's swapDevices.*.randomEncryption
submodule, with no way to reach its other options (cipher, sectorSize,
etc).

Widen the type to bool or an attrset. A bool keeps the old behavior
unchanged. An attrset enables encryption by default (overridable via
its own enable key) and is merged over the enable/allowDiscards
defaults, so extra NixOS randomEncryption options pass through.

Fixes #438
2026-10-20 20:36:20 +02: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
2025-02-15 10:08:56 +00:00
2025-12-14 04:58:58 +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