From 912f60c1e7150f10b190a48b94f2c50978affeaa Mon Sep 17 00:00:00 2001 From: "Kovacsics Robert (NixOS)" Date: Thu, 26 Nov 2015 14:40:31 +0000 Subject: 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. --- nixos/modules/tasks/encrypted-devices.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/tasks/encrypted-devices.nix') 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 fileSystems.<name?>.device to /dev/mapper/<label> to mount the unlocked device."; }; -- cgit 1.4.1