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.senpai.enable

Whether to enable senpai.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.senpai.package

The senpai package to use.

Type: package

Default:

pkgs.senpai

Declared by:

programs.senpai.config

Configuration for senpai. For a complete list of options, see senpai(5).

Type: open submodule of attribute set of anything

Example:

{
  address = "libera.chat:6697";
  nickname = "nicholas";
  password = "verysecurepassword";
}

Declared by:

programs.senpai.config.address

The address (host[:port]) of the IRC server. senpai uses TLS connections by default unless you specify tls option to be false. TLS connections default to port 6697, plain-text use port 6667.

URircs://, irc://, and irc+insecure:// URLs are supported, in which case only the hostname and port parts will be used. If the scheme is ircs/irc+insecure, tls will be overridden and set to true/false accordingly.

Type: string

Declared by:

programs.senpai.config.nickname

Your nickname, sent with a NICK IRC message. It mustn’t contain spaces or colons (:).

Type: string

Declared by:

programs.senpai.config.password

Your password, used for SASL authentication. Note that it will reside world-readable in the Nix store.

Type: null or string

Default:

null

Declared by:

programs.senpai.config.password-cmd

Alternatively to providing your SASL authentication password directly in plaintext, you can specify a command to be run to fetch the password at runtime. This is useful if you store your passwords in a separate (probably encrypted) file using gpg or a command line password manager such as pass or gopass. If a password-cmd is provided, the value of password will be ignored and the first line of the output of password-cmd will be used for login.

Type: null or (list of string)

Default:

null

Example:

[
  "gopass"
  "show"
  "irc/guest"
]

Declared by: