diff options
Diffstat (limited to 'nixos/modules/system/boot/luksroot.nix')
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index 1b4f0d401e6d..4a14ff1879c9 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -242,20 +242,20 @@ in name = mkOption { example = "luksroot"; - type = types.string; + type = types.str; description = "Named to be used for the generated device in /dev/mapper."; }; device = mkOption { example = "/dev/sda2"; - type = types.string; + type = types.str; description = "Path of the underlying block device."; }; header = mkOption { default = null; example = "/root/header.img"; - type = types.nullOr types.string; + type = types.nullOr types.str; description = '' The name of the file or block device that should be used as header for the encrypted device. @@ -265,7 +265,7 @@ in keyFile = mkOption { default = null; example = "/dev/sdb1"; - type = types.nullOr types.string; + type = types.nullOr types.str; description = '' The name of the file (can be a raw device or a partition) that should be used as the decryption key for the encrypted device. If @@ -349,7 +349,7 @@ in ramfsMountPoint = mkOption { default = "/crypt-ramfs"; - type = types.string; + type = types.str; description = "Path where the ramfs used to update the LUKS key will be mounted during early boot."; }; @@ -369,19 +369,19 @@ in fsType = mkOption { default = "vfat"; - type = types.string; + type = types.str; description = "The filesystem of the unencrypted device."; }; mountPoint = mkOption { default = "/crypt-storage"; - type = types.string; + type = types.str; description = "Path where the unencrypted device will be mounted during early boot."; }; path = mkOption { default = "/crypt-storage/default"; - type = types.string; + type = types.str; description = '' Absolute path of the salt on the unencrypted device with that device's root directory as "/". |