summary refs log tree commit diff
path: root/nixos/modules/tasks/encrypted-devices.nix
diff options
context:
space:
mode:
authorKovacsics Robert (NixOS) <kovirobi@gmail.com>2015-11-26 14:40:31 +0000
committerKovacsics Robert (NixOS) <kovirobi@gmail.com>2015-11-26 14:40:31 +0000
commit912f60c1e7150f10b190a48b94f2c50978affeaa (patch)
treeb558483135245adce9e8691ed2b6a1aea519cccd /nixos/modules/tasks/encrypted-devices.nix
parentacb362b8c1e6836e6ea3a3cb57f2092eb9ac2644 (diff)
downloadnixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar.gz
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar.bz2
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar.lz
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar.xz
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.tar.zst
nixpkgs-912f60c1e7150f10b190a48b94f2c50978affeaa.zip
Revert part of #9982 to be in line with #9925
When creating PR #9982, I undid a line of PR #9925, that was some
cleanups and fixes, so this undoes that damage.
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 331531cee15..457b86e95ab 100644
--- a/nixos/modules/tasks/encrypted-devices.nix
+++ b/nixos/modules/tasks/encrypted-devices.nix
@@ -30,7 +30,7 @@ let
       label = mkOption {
         default = null;
         example = "rootfs";
-        type = types.uniq (types.nullOr types.str);
+        type = types.nullOr types.str;
         description = "Label of the unlocked encrypted device. Set <literal>fileSystems.&lt;name?&gt;.device</literal> to <literal>/dev/mapper/&lt;label&gt;</literal> to mount the unlocked device.";
       };