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/modules | |
parent | acb362b8c1e6836e6ea3a3cb57f2092eb9ac2644 (diff) | |
download | nixpkgs-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')
-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 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.<name?>.device</literal> to <literal>/dev/mapper/<label></literal> to mount the unlocked device."; }; |