disko
disko copied to clipboard
Example swap.nix enables mutually exclusive options randomEncryption and resumeDevice.
Example swap.nix enables both randomEncryption and resumeDevice. According to the NixOS option documentation, hibernating from swap partitions with random keys does not work and enabling this option could lead to data loss.