Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

encrypted devices: provide working example

lassulus 77be4d91 f804a8ff

+1 -1
+1 -1
nixos/modules/tasks/encrypted-devices.nix
··· 36 36 37 37 keyFile = mkOption { 38 38 default = null; 39 - example = "/root/.swapkey"; 39 + example = "/mnt-root/root/.swapkey"; 40 40 type = types.nullOr types.str; 41 41 description = "File system location of keyfile. This unlocks the drive after the root has been mounted to <literal>/mnt-root</literal>."; 42 42 };