Skip to content

tsmClient

programs.tsmClient.defaultServername

If multiple server stanzas are declared with {option}programs.tsmClient.servers, this option may be used to name a default server stanza that IBM TSM uses in the absence of a user-defined {file}dsm.opt file. This option translates to a defaultserver configuration line.

Type: null or string matching the pattern [^[:space:]]{1,64}

Default

null

Example

"mainTsmServer"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.dsmSysText

This configuration key contains the effective text of the client system-options file "dsm.sys". It should not be changed, but may be used to feed the configuration into other TSM-depending packages used on the system.

Type: strings concatenated with "\n"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.enable

Whether to enable IBM Storage Protect (Tivoli Storage Manager, TSM) client command line applications with a client system-options file "dsm.sys" . Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.package

The tsm-client package to use. It will be used with .override to add paths to the client system-options file.

Type: package

Default

pkgs.tsm-client

Example

tsm-client-withGui

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers

Server definitions ("stanzas") for the client system-options file. The name of each entry will be used for the internal servername by default. Each attribute will be transformed into a line with a key-value pair within the server's stanza. Integers as values will be canonically turned into strings. The boolean value true will be turned into a line with just the attribute's name. The value null will not generate a line. A list as values generates an entry for each value, according to the rules above.

Type: attribute set of (attribute set of (one of true, <null> or signed integer or path or (optionally newline-terminated) single-line string or list of (one of true, <null> or signed integer or path or (optionally newline-terminated) single-line string)))

Default

{ }

Example

{mainTsmServer = {compression = "yes";nodename = "MY-TSM-NODE";tcpserveraddress = "tsmserver.company.com";};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.genPasswd

Whether to enable automatic client password generation. This option does not cause a line in {file}dsm.sys by itself, but generates a corresponding passwordaccess directive. The password will be stored in the directory given by the option {option}passworddir. Caution: If this option is enabled and the server forces to renew the password (e.g. on first connection), a random password will be generated and stored . Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.inclexcl

Text lines with include.* and exclude.* directives to be used when sending files to the IBM TSM server, or an absolute path pointing to a file with such lines.

Type: (null or path) or strings concatenated with "\n" convertible to it

Default

null

Example

'' exclude.dir /nix/store include.encrypt /home/.../*''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.nodename

Target node name on the IBM TSM server.

Type: non-empty string

Example

"MY-TSM-NODE"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.passworddir

Directory that holds the TSM node's password information.

Type: null or path

Default

null

Example

"/home/alice/tsm-password"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.servername

Local name of the IBM TSM server, must not contain space or more than 64 chars.

Type: string matching the pattern [^[:space:]]{1,64}

Default

"‹name›"

Example

"mainTsmServer"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.tcpport

TCP port of the IBM TSM server. TSM does not support ports above 32767.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

1500

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.servers.<name>.tcpserveraddress

Host/domain name or IP address of the IBM TSM server.

Type: non-empty string

Example

"tsmserver.company.com"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix

programs.tsmClient.wrappedPackage

The tsm-client package to use. This option is to provide the effective derivation, wrapped with the path to the client system-options file "dsm.sys". It should not be changed, but exists for other modules that want to call TSM executables.

Type: package

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/tsm-client.nix