boot.kernel.randstructSeed

NixOS option

Provides a custom seed for the RANDSTRUCT security option of the Linux kernel. Note that RANDSTRUCT is only enabled in NixOS hardened kernels. Using a custom seed requires building the kernel and dependent packages locally, since this customization happens at build time.

type: string
Default
""
Example
"my secret seed"
declared in: nixos/modules/system/boot/kernel.nixView source on NixOS/nixpkgs →