diff options
Diffstat (limited to 'nixos/modules/services/networking/iscsi')
-rw-r--r-- | nixos/modules/services/networking/iscsi/initiator.nix | 14 | ||||
-rw-r--r-- | nixos/modules/services/networking/iscsi/root-initiator.nix | 16 | ||||
-rw-r--r-- | nixos/modules/services/networking/iscsi/target.nix | 4 |
3 files changed, 17 insertions, 17 deletions
diff --git a/nixos/modules/services/networking/iscsi/initiator.nix b/nixos/modules/services/networking/iscsi/initiator.nix index 2d802d8cfc709..a89d58403c6bc 100644 --- a/nixos/modules/services/networking/iscsi/initiator.nix +++ b/nixos/modules/services/networking/iscsi/initiator.nix @@ -4,19 +4,19 @@ let in { options.services.openiscsi = with types; { - enable = mkEnableOption (lib.mdDoc "the openiscsi iscsi daemon"); - enableAutoLoginOut = mkEnableOption (lib.mdDoc '' + enable = mkEnableOption "the openiscsi iscsi daemon"; + enableAutoLoginOut = mkEnableOption '' automatic login and logout of all automatic targets. You probably do not want this - ''); + ''; discoverPortal = mkOption { type = nullOr str; default = null; - description = lib.mdDoc "Portal to discover targets on"; + description = "Portal to discover targets on"; }; name = mkOption { type = str; - description = lib.mdDoc "Name of this iscsi initiator"; + description = "Name of this iscsi initiator"; example = "iqn.2020-08.org.linux-iscsi.initiatorhost:example"; }; package = mkPackageOption pkgs "openiscsi" { }; @@ -24,11 +24,11 @@ in extraConfig = mkOption { type = str; default = ""; - description = lib.mdDoc "Lines to append to default iscsid.conf"; + description = "Lines to append to default iscsid.conf"; }; extraConfigFile = mkOption { - description = lib.mdDoc '' + description = '' Append an additional file's contents to /etc/iscsid.conf. Use a non-store path and store passwords in this file. ''; diff --git a/nixos/modules/services/networking/iscsi/root-initiator.nix b/nixos/modules/services/networking/iscsi/root-initiator.nix index 895467cc674ab..3d80d1c575524 100644 --- a/nixos/modules/services/networking/iscsi/root-initiator.nix +++ b/nixos/modules/services/networking/iscsi/root-initiator.nix @@ -19,7 +19,7 @@ in # machines to be up. options.boot.iscsi-initiator = with types; { name = mkOption { - description = lib.mdDoc '' + description = '' Name of the iSCSI initiator to boot from. Note, booting from iscsi requires networkd based networking. ''; @@ -29,7 +29,7 @@ in }; discoverPortal = mkOption { - description = lib.mdDoc '' + description = '' iSCSI portal to boot from. ''; default = null; @@ -38,7 +38,7 @@ in }; target = mkOption { - description = lib.mdDoc '' + description = '' Name of the iSCSI target to boot from. ''; default = null; @@ -47,7 +47,7 @@ in }; logLevel = mkOption { - description = lib.mdDoc '' + description = '' Higher numbers elicits more logs. ''; default = 1; @@ -56,7 +56,7 @@ in }; loginAll = mkOption { - description = lib.mdDoc '' + description = '' Do not log into a specific target on the portal, but to all that we discover. This overrides setting target. ''; @@ -65,19 +65,19 @@ in }; extraIscsiCommands = mkOption { - description = lib.mdDoc "Extra iscsi commands to run in the initrd."; + description = "Extra iscsi commands to run in the initrd."; default = ""; type = lines; }; extraConfig = mkOption { - description = lib.mdDoc "Extra lines to append to /etc/iscsid.conf"; + description = "Extra lines to append to /etc/iscsid.conf"; default = null; type = nullOr lines; }; extraConfigFile = mkOption { - description = lib.mdDoc '' + description = '' Append an additional file's contents to `/etc/iscsid.conf`. Use a non-store path and store passwords in this file. Note: the file specified here must be available in the initrd, see: `boot.initrd.secrets`. diff --git a/nixos/modules/services/networking/iscsi/target.nix b/nixos/modules/services/networking/iscsi/target.nix index 88eaf45900300..8a10e7d346ae3 100644 --- a/nixos/modules/services/networking/iscsi/target.nix +++ b/nixos/modules/services/networking/iscsi/target.nix @@ -9,12 +9,12 @@ in ###### interface options = { services.target = with types; { - enable = mkEnableOption (lib.mdDoc "the kernel's LIO iscsi target"); + enable = mkEnableOption "the kernel's LIO iscsi target"; config = mkOption { type = attrs; default = {}; - description = lib.mdDoc '' + description = '' Content of /etc/target/saveconfig.json This file is normally read and written by targetcli ''; |