diff options
author | Jan Malakhovski <oxij@oxij.org> | 2015-08-17 17:52:45 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2015-09-18 18:48:50 +0000 |
commit | 6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a (patch) | |
tree | 55e2983e16662e1074e9e668998253d31b429d59 /nixos/modules/system/boot/luksroot.nix | |
parent | 33ae3f2fe4baeb4db19d3c90dbb6cd35b9373004 (diff) | |
download | nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar.gz nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar.bz2 nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar.lz nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar.xz nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.tar.zst nixpkgs-6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a.zip |
nixos: fix some types
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 1b4f0d401e6..4a14ff1879c 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 "/". |