Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.sftpman.enable

Whether to enable sftpman, an application that handles sshfs/sftp file systems mounting.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.sftpman.package

The sftpman package to use.

Type: null or package

Default:

pkgs.sftpman

Declared by:

programs.sftpman.defaultSshKey

Path to the SSH key to be used by default. Can be overridden per host.

Type: null or string

Default:

null

Declared by:

programs.sftpman.mounts

The sshfs mount configurations written to $XDG_CONFIG_HOME/sftpman/mounts/.

Type: attribute set of (submodule)

Default:

{ }

Declared by:

programs.sftpman.mounts.<name>.authType

The authentication method to use.

Type: one of “password”, “publickey”, “hostbased”, “keyboard-interactive”, “gssapi-with-mic”, “authentication-agent”

Default:

"publickey"

Declared by:

programs.sftpman.mounts.<name>.beforeMount

Command to run before mounting.

Type: string

Default:

"true"

Declared by:

programs.sftpman.mounts.<name>.host

The host to connect to.

Type: string

Declared by:

programs.sftpman.mounts.<name>.mountDestPath

The path on the current machine where the remote path would be mounted.

Type: null or string

Default:

null

Declared by:

programs.sftpman.mounts.<name>.mountOptions

Options to pass to sshfs.

Type: list of string

Default:

[ ]

Declared by:

programs.sftpman.mounts.<name>.mountPoint

The remote path to mount.

Type: string

Declared by:

programs.sftpman.mounts.<name>.port

The port to connect to.

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

Default:

22

Declared by:

programs.sftpman.mounts.<name>.sshKey

Path to the SSH key to use for authentication. Only applies if authMethod is publickey.

Type: null or string

Default:

config.programs.sftpman.defaultSshKey

Declared by:

programs.sftpman.mounts.<name>.user

The username to authenticate with.

Type: string

Declared by: