diff options
author | Kovacsics Robert (NixOS) <kovirobi@gmail.com> | 2015-11-26 14:40:31 +0000 |
---|---|---|
committer | Kovacsics Robert (NixOS) <kovirobi@gmail.com> | 2015-11-26 14:40:31 +0000 |
commit | 912f60c1e7150f10b190a48b94f2c50978affeaa (patch) | |
tree | b558483135245adce9e8691ed2b6a1aea519cccd /nixos | |
parent | acb362b8c1e6836e6ea3a3cb57f2092eb9ac2644 (diff) |
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')
-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 331531cee1512..457b86e95ab5b 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.<name?>.device</literal> to <literal>/dev/mapper/<label></literal> to mount the unlocked device."; }; |