summary refs log tree commit diff
path: root/nixos/modules/tasks/encrypted-devices.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-10-16 17:46:46 +0200
committerlassulus <lassulus@lassul.us>2017-10-16 17:46:46 +0200
commit77be4d91f7448636749049672dc78c0d08ea3d45 (patch)
tree72b93160931380811c3986a4c8014f3f965aba45 /nixos/modules/tasks/encrypted-devices.nix
parentf804a8ff98b4a2550d4e854fa7506e1fe56d33d6 (diff)
downloadnixpkgs-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.nix2
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>.";
       };