Skip to content

Supybot

services.supybot.configFile

Path to initial supybot config file. This can be generated by running supybot-wizard.

Note: all paths should include the full path to the stateDir directory (backup conf data logs logs/plugins plugins tmp web).

Type: path

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/supybot.nix

services.supybot.enable

Enable Supybot, an IRC bot (also known as Limnoria). Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/supybot.nix

services.supybot.extraPackages

Extra Python packages available to supybot plugins. The value must be a function which receives the attrset defined in {var}python3Packages as the sole argument.

Type: function that evaluates to a(n) list of package

Default

p: []

Example

p: [ p.lxml p.requests ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/supybot.nix

services.supybot.plugins

Attribute set of additional plugins that will be symlinked to the {file}plugin subdirectory.

Please note that you still need to add the plugins to the config file (or with !load) using their attribute name.

Type: attribute set of path

Default

{ }

Example

letplugins = pkgs.fetchzip {url = "https://github.com/ProgVal/Supybot-plugins/archive/57c2450c.zip";sha256 = "077snf84ibnva3sbpzdfpfma6hcdw7dflwnhg6pw7mgnf0nd84qd";};in{Wikipedia = "${plugins}/Wikipedia";Decide = ./supy-decide;}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/supybot.nix

services.supybot.stateDir

The root directory, logs and plugins are stored here Type: path

Default

/var/lib/supybot

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/supybot.nix