diff options
author | lassulus <lassulus@lassul.us> | 2017-10-16 17:46:46 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-10-16 17:46:46 +0200 |
commit | 77be4d91f7448636749049672dc78c0d08ea3d45 (patch) | |
tree | 72b93160931380811c3986a4c8014f3f965aba45 /nixos/modules/tasks/encrypted-devices.nix | |
parent | f804a8ff98b4a2550d4e854fa7506e1fe56d33d6 (diff) | |
download | nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar.gz nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar.bz2 nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar.lz nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar.xz nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.tar.zst nixpkgs-77be4d91f7448636749049672dc78c0d08ea3d45.zip |
encrypted devices: provide working example
Diffstat (limited to 'nixos/modules/tasks/encrypted-devices.nix')
-rw-r--r-- | nixos/modules/tasks/encrypted-devices.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/encrypted-devices.nix b/nixos/modules/tasks/encrypted-devices.nix index 0b4c41a0f2a..da0c9408d89 100644 --- a/nixos/modules/tasks/encrypted-devices.nix +++ b/nixos/modules/tasks/encrypted-devices.nix @@ -36,7 +36,7 @@ let keyFile = mkOption { default = null; - example = "/root/.swapkey"; + example = "/mnt-root/root/.swapkey"; type = types.nullOr types.str; description = "File system location of keyfile. This unlocks the drive after the root has been mounted to <literal>/mnt-root</literal>."; }; |