git.iko.soy/typeable/nixpkgs
on master help sign in
Style fix
commit28e49dcb41e5f83107b637dfdacc932925e83ad3 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateMon 4 May 2015, 14:16 (12 years ago) parentc2bf9c3
1 file changed+17−17
nixos/modules/system/boot/luksroot.nix+17−17
nixos/modules/system/boot/luksroot.nix+17−17
@@ -303,43 +303,43 @@ in
303303 twoFactor = mkOption {
304304 default = true;
305305 type = types.bool;
306− description = "Whether to use a passphrase and a Yubikey (true), or only a Yubikey (false)";
306+ description = "Whether to use a passphrase and a Yubikey (true), or only a Yubikey (false).";
307307 };
308308
309309 slot = mkOption {
310310 default = 2;
311311 type = types.int;
312− description = "Which slot on the Yubikey to challenge";
312+ description = "Which slot on the Yubikey to challenge.";
313313 };
314314
315315 saltLength = mkOption {
316316 default = 16;
317317 type = types.int;
318− description = "Length of the new salt in byte (64 is the effective maximum)";
318+ description = "Length of the new salt in byte (64 is the effective maximum).";
319319 };
320320
321321 keyLength = mkOption {
322322 default = 64;
323323 type = types.int;
324− description = "Length of the LUKS slot key derived with PBKDF2 in byte";
324+ description = "Length of the LUKS slot key derived with PBKDF2 in byte.";
325325 };
326326
327327 iterationStep = mkOption {
328328 default = 0;
329329 type = types.int;
330− description = "How much the iteration count for PBKDF2 is increased at each successful authentication";
330+ description = "How much the iteration count for PBKDF2 is increased at each successful authentication.";
331331 };
332332
333333 gracePeriod = mkOption {
334334 default = 2;
335335 type = types.int;
336− description = "Time in seconds to wait before attempting to find the Yubikey";
336+ description = "Time in seconds to wait before attempting to find the Yubikey.";
337337 };
338338
339339 ramfsMountPoint = mkOption {
340340 default = "/crypt-ramfs";
341341 type = types.string;
342− description = "Path where the ramfs used to update the LUKS key will be mounted in stage-1";
342+ description = "Path where the ramfs used to update the LUKS key will be mounted during early boot.";
343343 };
344344
345345 /* TODO: Add to the documentation of the current module:
@@ -359,13 +359,13 @@ in
359359 fsType = mkOption {
360360 default = "vfat";
361361 type = types.string;
362− description = "The filesystem of the unencrypted device";
362+ description = "The filesystem of the unencrypted device.";
363363 };
364364
365365 mountPoint = mkOption {
366366 default = "/crypt-storage";
367367 type = types.string;
368− description = "Path where the unencrypted device will be mounted in stage-1";
368+ description = "Path where the unencrypted device will be mounted during early boot.";
369369 };
370370
371371 path = mkOption {
@@ -419,10 +419,10 @@ in
419419 mkdir -p $out/etc/ssl
420420 cp -pdv ${pkgs.openssl}/etc/ssl/openssl.cnf $out/etc/ssl
421421
422− cat > $out/bin/openssl-wrap <<EOF
423−#!$out/bin/sh
424−EOF
425− chmod +x $out/bin/openssl-wrap
422+ cat > $out/bin/openssl-wrap <<EOF
423+ #!$out/bin/sh
424+ EOF
425+ chmod +x $out/bin/openssl-wrap
426426 ''}
427427 '';
428428
@@ -432,10 +432,10 @@ EOF
432432 $out/bin/ykchalresp -V
433433 $out/bin/ykinfo -V
434434 cat > $out/bin/openssl-wrap <<EOF
435−#!$out/bin/sh
436−export OPENSSL_CONF=$out/etc/ssl/openssl.cnf
437−$out/bin/openssl "\$@"
438−EOF
435+ #!$out/bin/sh
436+ export OPENSSL_CONF=$out/etc/ssl/openssl.cnf
437+ $out/bin/openssl "\$@"
438+ EOF
439439 $out/bin/openssl-wrap version
440440 ''}
441441 '';