services (E)

services.e-imzo.enable

Whether to enable E-IMZO.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/security/e-imzo.nix

services.e-imzo.package

The e-imzo package to use. Official mirror deletes old versions as soon as they release new one. Feel free to use either unstable or your own custom e-imzo package and ping maintainer.

Type: package

Default: pkgs.e-imzo

Declared by: nixos/modules/services/security/e-imzo.nix

services.earlyoom.enable

Whether to enable early out of memory killing.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.enableDebugInfo

Enable debugging messages.

Type: boolean

Default: false

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.enableNotifications

Send notifications about killed processes via the system d-bus.

WARNING: enabling this option (while convenient) should not be done on a machine where you do not trust the other users as it allows any other local user to DoS your session by spamming notifications.

To actually see the notifications in your GUI session, you need to have systembus-notify running as your user, which this option handles by enabling services.systembus-notify.

See README for details.

Type: boolean

Default: false

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.extraArgs

Extra command-line arguments to be passed to earlyoom. Each element in the value list will be escaped as an argument without further word-breaking.

Type: list of string

Default: [ ]

Example:

[
  "-g"
  "--prefer"
  "(^|/)(java|chromium)$"
]

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.freeMemKillThreshold

Minimum available memory (in percent) before sending SIGKILL. If unset, this defaults to half of freeMemThreshold.

See the description of services (E).

Type: null or integer between 1 and 100 (both inclusive)

Default: null

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.freeMemThreshold

Minimum available memory (in percent).

If the available memory falls below this threshold (and the analog is true for freeSwapThreshold) the killing begins. SIGTERM is sent first to the process that uses the most memory; then, if the available memory falls below freeMemKillThreshold (and the analog is true for freeSwapKillThreshold), SIGKILL is sent.

See README for details.

Type: integer between 1 and 100 (both inclusive)

Default: 10

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.freeSwapKillThreshold

Minimum free swap space (in percent) before sending SIGKILL. If unset, this defaults to half of freeSwapThreshold.

See the description of services (E).

Type: null or integer between 1 and 100 (both inclusive)

Default: null

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.freeSwapThreshold

Minimum free swap space (in percent) before sending SIGTERM.

See the description of services (E).

Type: integer between 1 and 100 (both inclusive)

Default: 10

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.killHook

An absolute path to an executable to be run for each process killed. Some environment variables are available, see README and the man page for details.

WARNING: earlyoom is running in a sandbox with ProtectSystem="strict" by default, so filesystem write is also prohibited for the hook. If you want to change these protection rules, override the systemd service via systemd.services.earlyoom.serviceConfig.ProtectSystem.

Type: null or absolute path

Default: null

Example:

pkgs.writeShellScript "earlyoom-kill-hook" ''
  echo "Process $EARLYOOM_NAME ($EARLYOOM_PID) was killed" >> /path/to/log
''

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.package

The earlyoom package to use.

Type: package

Default: pkgs.earlyoom

Declared by: nixos/modules/services/system/earlyoom.nix

services.earlyoom.reportInterval

Interval (in seconds) at which a memory report is printed (set to 0 to disable).

Type: signed integer

Default: 3600

Example: 0

Declared by: nixos/modules/services/system/earlyoom.nix

services.easytier.allowSystemForward

Whether to enable Allow the system to forward packets from easytier. Useful when proxy_forward_by_system enabled. .

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.enable

Whether to enable EasyTier daemon.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances

EasyTier instances.

Type: attribute set of (submodule)

Default: { }

Example:

{
  extraSettings = {
    flags = {
      dev_name = "tun1";
    };
  };
  settings = {
    ipv4 = "10.144.144.1/24";
    network_name = "easytier";
    network_secret = "easytier";
    peers = [
      "tcp://public.easytier.cn:11010"
      "wss://example.com:443"
    ];
  };
}

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.configFile

Path to easytier config file. Setting this option will override settings and extraSettings of this instance.

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.configServer

Configure the instance from config server. When this option set, any other settings for configuring the instance manually except hostname will be ignored. Valid formats are:

  • full uri for custom server: udp://example.com:22020/<token>

Since 2.7.0 a full URL is required; a bare <token> is rejected.

Type: null or string

Default: null

Example: "udp://example.com:22020/myusername"

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.enable

Enable the instance.

Type: boolean

Default: true

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.environmentFiles

Environment files for this instance. All command-line args have corresponding environment variables.

Type: list of absolute path

Default: [ ]

Example:

[
  /path/to/.env
  /path/to/.env.secret
]

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.extraArgs

Extra args append to the easytier command-line.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.extraSettings

Extra settings to add to easytier-‹name›.toml.

Type: TOML value

Default: { }

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings

Settings to generate easytier-‹name›.toml

Type: submodule

Default: { }

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.dhcp

Automatically determine the IPv4 address of this peer based on existing peers on network.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.hostname

Hostname shown in peer list and web console.

Type: null or string

Default: null

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.instance_name

Identify different instances on same host

Type: string

Default: "‹name›"

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.ipv4

IPv4 cidr address of this peer in the virtual network. If empty, this peer will only forward packets and no TUN device will be created.

Type: null or string

Default: null

Example: "10.144.144.1/24"

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.listeners

Listener addresses to accept connections from other peers. Valid format is: <proto>://<addr>:<port>, where the protocol can be tcp, udp, ring, wg, ws, wss.

Type: list of string

Default:

[
  "tcp://0.0.0.0:11010"
  "udp://0.0.0.0:11010"
]

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.network_name

EasyTier network name.

Type: null or string

Default: null

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.network_secret

EasyTier network credential used for verification and encryption. It can also be set in environmentFile.

Type: null or string

Default: null

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.instances.<name>.settings.peers

Peers to connect initially. Valid format is: <proto>://<addr>:<port>.

Type: list of string

Default: [ ]

Example:

[
  "tcp://example.com:11010"
]

Declared by: nixos/modules/services/networking/easytier.nix

services.easytier.package

The easytier package to use.

Type: package

Default: pkgs.easytier

Declared by: nixos/modules/services/networking/easytier.nix

services.ebusd.configpath

Directory to read CSV config files from. This can be a local folder or a URL.

Type: string

Default: "https://ebus.github.io/"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.device

Use DEV as eBUS device [/dev/ttyUSB0]. This can be either: enh:DEVICE or enh:IP:PORT for enhanced device (only adapter v3 and newer), ens:DEVICE for enhanced high speed serial device (only adapter v3 and newer with firmware since 20220731), DEVICE for serial device (normal speed, for all other serial adapters like adapter v2 as well as adapter v3 in non-enhanced mode), or [udp:]IP:PORT for network device.

Source: https://github.com/john30/ebusd/wiki/2.-Run#device-options

Type: string

Default: ""

Example: "IP:PORT"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.enable

Whether to enable ebusd, a daemon for communication with eBUS heating systems.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.extraArguments

Extra arguments to the ebus daemon

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.all

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.bus

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.device

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.main

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.network

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.other

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.logs.update

Only write log for matching AREAs (all|main|network|bus|device|update|other) below or equal to LEVEL (none|error|notice|info|debug)

Type: one of "none", "error", "notice", "info", "debug"

Default: "notice"

Example: "debug"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.enable

Whether to enable support for MQTT.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.home-assistant

Adds the Home Assistant topics to MQTT, read more at MQTT Integration

Type: boolean

Default: false

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.host

Connect to MQTT broker on HOST.

Type: string

Default: "localhost"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.password

The MQTT password.

Type: string

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.port

The port on which to connect to MQTT

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

Default: 1883

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.retain

Whether to enable set the retain flag on all topics instead of only selected global ones.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.mqtt.user

The MQTT user to use

Type: string

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.package

The ebusd package to use.

Type: package

Default: pkgs.ebusd

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.port

The port on which to listen on

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

Default: 8888

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.readonly

Only read from device, never write to it

Type: boolean

Default: false

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.ebusd.scanconfig

Pick CSV config files matching initial scan ("none" or empty for no initial scan message, "full" for full scan, or a single hex address to scan, default is to send a broadcast ident message). If combined with --checkconfig, you can add scan message data as arguments for checking a particular scan configuration, e.g. "FF08070400/0AB5454850303003277201". For further details on this option, see Automatic configuration.

Type: string

Default: "full"

Declared by: nixos/modules/services/home-automation/ebusd.nix

services.echoip.enable

Whether to enable echoip.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.enablePortLookup

Whether to enable port lookup.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.enableReverseHostnameLookups

Whether to enable reverse hostname lookups.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.extraArgs

Extra command line arguments to pass to echoip. See https://github.com/mpolden/echoip for details.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.listenAddress

The address echoip should listen on

Type: string

Default: ":8080"

Example: "127.0.0.1:8000"

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.package

The echoip package to use.

Type: package

Default: pkgs.echoip

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.remoteIpHeader

Header to trust for remote IP, if present

Type: null or string

Default: null

Example: "X-Real-IP"

Declared by: nixos/modules/services/web-apps/echoip.nix

services.echoip.virtualHost

Name of the nginx virtual host to use and setup. If null, do not setup anything.

Type: null or string

Default: null

Declared by: nixos/modules/services/web-apps/echoip.nix

services.ecs-agent.enable

Whether to enable Amazon ECS agent.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/virtualisation/ecs-agent.nix

services.ecs-agent.extra-environment

The environment the ECS agent should run with. See the ECS agent documentation for keys that work here.

Type: attribute set of string

Default: { }

Declared by: nixos/modules/virtualisation/ecs-agent.nix

services.ecs-agent.package

The ecs-agent package to use.

Type: package

Default: pkgs.ecs-agent

Declared by: nixos/modules/virtualisation/ecs-agent.nix

services.eg25-manager.enable

Whether to enable Quectel EG25 modem manager service.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/hardware/network/eg25-manager.nix

services.eg25-manager.package

The eg25-manager package to use.

Type: package

Default: pkgs.eg25-manager

Declared by: nixos/modules/hardware/network/eg25-manager.nix

services.ejabberd.configFile

Configuration file for ejabberd in YAML format

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.ctlConfig

Configuration of ejabberdctl

Type: strings concatenated with "\n"

Default: ""

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.enable

Whether to enable ejabberd server

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.group

Group under which ejabberd is ran

Type: string

Default: "ejabberd"

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.imagemagick

Add ImageMagick to server's path; allows for image thumbnailing

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.loadDumps

Configuration dumps that should be loaded on the first startup

Type: list of absolute path

Default: [ ]

Example: [ ./myejabberd.dump ]

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.logsDir

Location of the logfile directory of ejabberd

Type: absolute path

Default: "/var/log/ejabberd"

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.package

The ejabberd package to use.

Type: package

Default: pkgs.ejabberd

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.spoolDir

Location of the spooldir of ejabberd

Type: absolute path

Default: "/var/lib/ejabberd"

Declared by: nixos/modules/services/networking/ejabberd.nix

services.ejabberd.user

User under which ejabberd is ran

Type: string

Default: "ejabberd"

Declared by: nixos/modules/services/networking/ejabberd.nix

services.elasticsearch-curator.actionYAML

curator action.yaml file contents, alternatively use curator-cli which takes a simple action command

Type: strings concatenated with "\n"

Example:

''
  ---
  actions:
    1:
      action: delete_indices
      description: >-
        Delete indices older than 45 days (based on index name), for logstash-
        prefixed indices. Ignore the error if the filter does not result in an
        actionable list of indices (ignore_empty_list) and exit cleanly.
      options:
        ignore_empty_list: True
        disable_action: False
      filters:
      - filtertype: pattern
        kind: prefix
        value: logstash-
      - filtertype: age
        source: name
        direction: older
        timestring: '%Y.%m.%d'
        unit: days
        unit_count: 45
''

Declared by: nixos/modules/services/search/elasticsearch-curator.nix

services.elasticsearch-curator.enable

Whether to enable elasticsearch curator.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/search/elasticsearch-curator.nix

services.elasticsearch-curator.hosts

a list of elasticsearch hosts to connect to

Type: list of string

Default:

[
  "localhost"
]

Declared by: nixos/modules/services/search/elasticsearch-curator.nix

services.elasticsearch-curator.interval

The frequency to run curator, a systemd.time such as 'hourly'

Type: string

Default: "hourly"

Declared by: nixos/modules/services/search/elasticsearch-curator.nix

services.elasticsearch-curator.port

the port that elasticsearch is listening on

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

Default: 9200

Declared by: nixos/modules/services/search/elasticsearch-curator.nix

services.elasticsearch.cluster_name

Elasticsearch name that identifies your cluster for auto-discovery.

Type: string

Default: "elasticsearch"

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.dataDir

Data directory for elasticsearch.

Type: absolute path

Default: "/var/lib/elasticsearch"

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.enable

Whether to enable elasticsearch.

Type: boolean

Default: false

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.extraCmdLineOptions

Extra command line options for the elasticsearch launcher.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.extraConf

Extra configuration for elasticsearch.

Type: string

Default: ""

Example:

''
  node.name: "elasticsearch"
  node.master: true
  node.data: false
''

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.extraJavaOptions

Extra command line options for Java.

Type: list of string

Default: [ ]

Example:

[
  "-Djava.net.preferIPv4Stack=true"
]

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.listenAddress

Elasticsearch listen address.

Type: string

Default: "127.0.0.1"

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.logging

Elasticsearch logging configuration.

Type: string

Default:

''
  logger.action.name = org.elasticsearch.action
  logger.action.level = info
  
  appender.console.type = Console
  appender.console.name = console
  appender.console.layout.type = PatternLayout
  appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
  
  rootLogger.level = info
  rootLogger.appenderRef.console.ref = console
''

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.package

The elasticsearch package to use.

Type: package

Default: pkgs.elasticsearch

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.plugins

Extra elasticsearch plugins

Type: list of package

Default: [ ]

Example: [ pkgs.elasticsearchPlugins.discovery-ec2 ]

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.port

Elasticsearch port to listen for HTTP traffic.

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

Default: 9200

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.restartIfChanged

Automatically restart the service on config change. This can be set to false to defer restarts on a server or cluster. Please consider the security implications of inadvertently running an older version, and the possibility of unexpected behavior caused by inconsistent versions across a cluster when disabling this option.

Type: boolean

Default: true

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.single_node

Start a single-node cluster

Type: boolean

Default: true

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elasticsearch.tcp_port

Elasticsearch port for the node to node communication.

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

Default: 9300

Declared by: nixos/modules/services/search/elasticsearch.nix

services.elephant.enable

Whether to enable Elephant application launcher backend.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/elephant.nix

services.elephant.package

The elephant package to use.

Type: package

Default: pkgs.elephant

Declared by: nixos/modules/services/misc/elephant.nix

services.elk.enable

Whether to enable Elk, a nimble Mastodon web client.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/elk.nix

services.elk.openFirewall

Whether to open the firewall for the specified port.

Type: boolean

Default: false

Declared by: nixos/modules/services/web-apps/elk.nix

services.elk.package

The elk package to use.

Type: package

Default: pkgs.elk

Declared by: nixos/modules/services/web-apps/elk.nix

services.elk.settings

Environment variables for the Elk server process, see https://github.com/elk-zone/elk/blob/main/nuxt.config.ts for supported keys.

Type: open submodule of attribute set of (boolean or signed integer or string)

Default: { }

Example:

{
  NUXT_PUBLIC_DEFAULT_SERVER = "mastodon.social";
  PORT = 3000;
}

Declared by: nixos/modules/services/web-apps/elk.nix

services.elk.settings.HOST

The address to listen on.

Type: string

Default: "127.0.0.1"

Declared by: nixos/modules/services/web-apps/elk.nix

services.elk.settings.PORT

The port to listen on.

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

Default: 3000

Declared by: nixos/modules/services/web-apps/elk.nix

services.emacs.defaultEditor

When enabled, configures emacsclient to be the default editor using the EDITOR environment variable.

Type: boolean

Default: false

Declared by: nixos/modules/services/editors/emacs.nix

services.emacs.enable

Whether to enable a user service for the Emacs daemon. Use emacsclient to connect to the daemon. If true, services.emacs.install is considered true.

Type: boolean

Default: false

Declared by: nixos/modules/services/editors/emacs.nix

services.emacs.install

Whether to install a user service for the Emacs daemon. Once the service is started, use emacsclient to connect to the daemon.

The service must be manually started for each user with "systemctl --user start emacs" or globally through services.emacs.enable.

Type: boolean

Default: false

Declared by: nixos/modules/services/editors/emacs.nix

services.emacs.package

The emacs package to use.

Type: package

Default: pkgs.emacs

Declared by: nixos/modules/services/editors/emacs.nix

services.emacs.startWithGraphical

Start emacs with the graphical session instead of any session. Without this, emacs clients will not be able to create frames in the graphical session.

Type: boolean

Default: config.services.xserver.enable

Declared by: nixos/modules/services/editors/emacs.nix

services.endlessh-go.enable

Whether to enable endlessh-go service.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.extraOptions

Additional command line options to pass to the endlessh-go daemon.

Type: list of string

Default: [ ]

Example:

[
  "-conn_type=tcp4"
  "-max_clients=8192"
]

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.listenAddress

Interface address to bind the endlessh-go daemon to SSH connections.

Type: string

Default: "0.0.0.0"

Example: "[::]"

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.openFirewall

Whether to open a firewall port for the SSH listener.

Type: boolean

Default: false

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.package

The endlessh-go package to use.

Type: package

Default: pkgs.endlessh-go

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.port

Specifies on which port the endlessh-go daemon listens for SSH connections.

Setting this to 22 may conflict with services.openssh.

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

Default: 2222

Example: 22

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.prometheus.enable

Whether to enable Prometheus integration.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.prometheus.listenAddress

Interface address to bind the endlessh-go daemon to answer Prometheus queries.

Type: string

Default: "0.0.0.0"

Example: "[::]"

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh-go.prometheus.port

Specifies on which port the endlessh-go daemon listens for Prometheus queries.

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

Default: 2112

Example: 9119

Declared by: nixos/modules/services/security/endlessh-go.nix

services.endlessh.enable

Whether to enable endlessh service.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/security/endlessh.nix

services.endlessh.extraOptions

Additional command line options to pass to the endlessh daemon.

Type: list of string

Default: [ ]

Example:

[
  "-6"
  "-d 9000"
  "-v"
]

Declared by: nixos/modules/services/security/endlessh.nix

services.endlessh.openFirewall

Whether to open a firewall port for the SSH listener.

Type: boolean

Default: false

Declared by: nixos/modules/services/security/endlessh.nix

services.endlessh.port

Specifies on which port the endlessh daemon listens for SSH connections.

Setting this to 22 may conflict with services.openssh.

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

Default: 2222

Example: 22

Declared by: nixos/modules/services/security/endlessh.nix

services.engelsystem.createDatabase

Whether to create a local database automatically. This will override every database setting in services.engelsystem.settings.

Type: boolean

Default: true

Declared by: nixos/modules/services/web-apps/engelsystem.nix

services.engelsystem.domain

Domain to serve on.

Type: string

Example: "engelsystem.example.com"

Declared by: nixos/modules/services/web-apps/engelsystem.nix

services.engelsystem.enable

Whether to enable engelsystem, an online tool for coordinating volunteers and shifts on large events.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/engelsystem.nix

services.engelsystem.package

The engelsystem package to use.

Type: package

Default: pkgs.engelsystem

Declared by: nixos/modules/services/web-apps/engelsystem.nix

services.engelsystem.settings

Options to be added to config.php, as a nix attribute set. Options containing secret data should be set to an attribute set containing the attribute _secret - a string pointing to a file containing the value the option should be set to. See the example to get a better picture of this: in the resulting config.php file, the email.password key will be set to the contents of the /var/keys/engelsystem/mail file.

See https://engelsystem.de/doc/admin/configuration/ for available options.

Note that the admin user login credentials cannot be set here - they always default to admin:asdfasdf. Log in and change them immediately.

Type: attribute set

Default:

{
  database = {
    database = "engelsystem";
    host = "localhost";
    username = "engelsystem";
  };
}

Example:

{
  autoarrive = true;
  database = {
    database = "engelsystem";
    host = "database.example.com";
    password = {
      _secret = "/var/keys/engelsystem/database";
    };
    username = "engelsystem";
  };
  default_locale = "de_DE";
  email = {
    driver = "smtp";
    encryption = "tls";
    from = {
      address = "engelsystem@example.com";
      name = "example engelsystem";
    };
    host = "smtp.example.com";
    password = {
      _secret = "/var/keys/engelsystem/mail";
    };
    port = 587;
    username = "engelsystem@example.com";
  };
  maintenance = false;
  min_password_length = 6;
}

Declared by: nixos/modules/services/web-apps/engelsystem.nix

services.ente.api.domain

The domain under which the api will be served.

Type: string

Example: "api.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.enable

Whether to enable Museum (API server for ente.io).

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.enableLocalDB

Whether to enable the automatic creation of a local postgres database for museum..

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.group

Group under which museum runs. If you set this option you must make sure the group exists.

Type: string

Default: "ente"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.nginx.enable

Whether to enable nginx proxy for the API server.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.package

The museum package to use.

Type: package

Default: pkgs.museum

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings

Museum yaml configuration. Refer to upstream local.yaml for more information. You can specify secret values in this configuration by setting somevalue._secret = "/path/to/file" instead of setting somevalue directly.

Type: open submodule of (YAML 1.1 value)

Default: { }

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.apps.accounts

Set this to the URL where your accounts page is running. This is primarily for passkey support.

Type: string

Default: "https://accounts.ente.io"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.apps.cast

Set this to the URL where your cast page is running. This is for browser and chromecast casting support.

Type: string

Default: "https://cast.ente.io"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.apps.public-albums

If you're running a self hosted instance and wish to serve public links, set this to the URL where your albums web app is running.

Type: string

Default: "https://albums.ente.io"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.db.host

The database host

Type: string

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.db.name

The database name

Type: string

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.db.port

The database port

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

Default: 5432

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.db.user

The database user

Type: string

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.settings.http.port

The HTTP port for the museum API service.

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

Default: 8080

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.api.user

User under which museum runs. If you set this option you must make sure the user exists.

Type: string

Default: "ente"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.domains.accounts

The domain under which the accounts frontend will be served.

Type: string

Example: "accounts.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.domains.albums

The domain under which the albums frontend will be served.

Type: string

Example: "albums.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.domains.api

The domain under which the api is served. This will NOT serve the api itself, but is a required setting to host the frontends! This will automatically be set for you if you enable both the api server and web frontends.

Type: string

Example: "api.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.domains.cast

The domain under which the cast frontend will be served.

Type: string

Example: "cast.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.domains.photos

The domain under which the photos frontend will be served.

Type: string

Example: "photos.ente.example.com"

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.enable

Whether to enable Ente web frontend (Photos, Albums).

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/web-apps/ente.nix

services.ente.web.package

The ente-web package to use.

Type: package

Default: pkgs.ente-web

Declared by: nixos/modules/services/web-apps/ente.nix

services.envfs.enable

Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process. This is useful to execute shebangs on NixOS that assume hard coded locations in locations like /bin or /usr/bin etc.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/tasks/filesystems/envfs.nix

services.envfs.extraFallbackPathCommands

Extra commands to run in the package that contains fallback executables in case not other executable is found

Type: strings concatenated with "\n"

Default: ""

Example: "ln -s $''{pkgs.bash}/bin/bash $out/bash"

Declared by: nixos/modules/tasks/filesystems/envfs.nix

services.envfs.package

Which package to use for the envfs.

Type: package

Default: pkgs.envfs

Declared by: nixos/modules/tasks/filesystems/envfs.nix

services.envoy.enable

Whether to enable Envoy reverse proxy.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/envoy.nix

services.envoy.package

The envoy package to use.

Type: package

Default: pkgs.envoy

Declared by: nixos/modules/services/networking/envoy.nix

services.envoy.requireValidConfig

Whether a failure during config validation at build time is fatal. When the config can't be checked during build time, for example when it includes other files, disable this option.

Type: boolean

Default: true

Declared by: nixos/modules/services/networking/envoy.nix

services.envoy.settings

Specify the configuration for Envoy in Nix.

Type: JSON value

Default: { }

Example:

{
  admin = {
    access_log_path = "/dev/null";
    address = {
      socket_address = {
        protocol = "TCP";
        address = "127.0.0.1";
        port_value = 9901;
      };
    };
  };
  static_resources = {
    listeners = [];
    clusters = [];
  };
}

Declared by: nixos/modules/services/networking/envoy.nix

services.epgstation.database.name

Name of the MySQL database that holds EPGStation's data.

Type: string

Default: "epgstation"

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.database.passwordFile

A file containing the password for the database named database.name.

Type: absolute path

Example: "/run/keys/epgstation-db-password"

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.enable

Whether to enable EPGStation: DVR system for Mirakurun-managed TV tuners.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.ffmpeg

The ffmpeg package to use.

Type: package

Default: pkgs.ffmpeg-headless

Example: ffmpeg-full

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.openFirewall

Open ports in the firewall for the EPGStation web interface.

Warning

Exposing EPGStation to the open internet is generally advised against. Only use it inside a trusted local network, or consider putting it behind a VPN if you want remote access.

Type: boolean

Default: false

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.package

The epgstation package to use.

Type: package

Default: pkgs.epgstation

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings

Options to add to config.yml.

Documentation: https://github.com/l3tnun/EPGStation/blob/master/doc/conf-manual.md

Type: open submodule of (YAML 1.1 value)

Default: { }

Example:

{
  conflictPriority = 10;
  recPriority = 20;
}

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.clientSocketioPort

Socket.io port that the web client is going to connect to. This may be different from services.epgstation.settings.socketioPort if EPGStation is hidden behind a reverse proxy.

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

Default: config.services.epgstation.settings.socketioPort

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.concurrentEncodeNum

The maximum number of encoding jobs that EPGStation would run at the same time.

Type: positive integer, meaning >0

Default: 1

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.encode

Encoding presets for recorded videos.

Type: list of (attribute set)

Default:

[
  {
    name = "H.264";
    cmd = "%NODE% config.services.epgstation.package/libexec/enc.js";
    suffix = ".mp4";
  }
]

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.encodeProcessNum

The maximum number of processes that EPGStation would allow to run at the same time for encoding or streaming videos.

Type: positive integer, meaning >0

Default: 4

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.mirakurunPath

URL to connect to Mirakurun.

Type: string

Default:

"http+unix://${lib.replaceStrings ["/"] ["%2F"] config.services.mirakurun.unixSocket}"

Example: "http://localhost:40772"

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.port

HTTP port for EPGStation to listen on.

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

Default: 20772

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.settings.socketioPort

Socket.io port for EPGStation to listen on. It is valid to share ports with services.epgstation.settings.port.

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

Default: config.services.epgstation.settings.port + 1

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epgstation.usePreconfiguredStreaming

Use preconfigured default streaming options.

Upstream defaults: https://github.com/l3tnun/EPGStation/blob/master/config/config.yml.template

Type: boolean

Default: true

Declared by: nixos/modules/services/video/epgstation/default.nix

services.epmd.enable

Whether to enable socket activation for Erlang Port Mapper Daemon (epmd), which acts as a name server on all hosts involved in distributed Erlang computations.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/epmd.nix

services.epmd.listenStream

the listenStream used by the systemd socket. see https://www.freedesktop.org/software/systemd/man/systemd.socket.html#ListenStream= for more information. use this to change the port epmd will run on. if not defined, epmd will use "[::]:4369"

Type: string or list of string

Default: "[::]:4369"

Declared by: nixos/modules/services/networking/epmd.nix

services.epmd.package

The erlang package to use.

Type: package

Default: pkgs.beamPackages.erlang

Declared by: nixos/modules/services/networking/epmd.nix

services.ergo.api.keyHash

Hex-encoded Blake2b256 hash of an API key as a 64-chars long Base16 string.

Type: null or string

Default: null

Example: "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf"

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.api.listen.ip

IP address that the Ergo node API should listen on if api.keyHash is defined.

Type: string

Default: "0.0.0.0"

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.api.listen.port

Listen port for the API endpoint if api.keyHash is defined.

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

Default: 9052

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.dataDir

The data directory for the Ergo node.

Type: absolute path

Default: "/var/lib/ergo"

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.enable

Whether to enable Ergo service.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.group

The group as which to run the Ergo node.

Type: string

Default: config.services.ergo.user

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.listen.ip

IP address on which the Ergo node should listen.

Type: string

Default: "0.0.0.0"

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.listen.port

Listen port for the Ergo node.

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

Default: 9006

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.openFirewall

Open ports in the firewall for the Ergo node as well as the API.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.testnet

Connect to testnet network instead of the default mainnet.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/ergo.nix

services.ergo.user

The user as which to run the Ergo node.

Type: string

Default: "ergo"

Declared by: nixos/modules/services/networking/ergo.nix

services.ergochat.configFile

Path to configuration file. Setting this will skip any configuration done via settings

Type: absolute path

Default: generated config file from settings

Declared by: nixos/modules/services/networking/ergochat.nix

services.ergochat.enable

Whether to enable Ergo IRC daemon.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/ergochat.nix

services.ergochat.openFilesLimit

Maximum number of open files. Limits the clients and server connections.

Type: signed integer

Default: 1024

Declared by: nixos/modules/services/networking/ergochat.nix

services.ergochat.settings

Ergo IRC daemon configuration file. https://raw.githubusercontent.com/ergochat/ergo/master/default.yaml

Type: YAML 1.1 value

Default:

{
  accounts = {
    authentication-enabled = true;
    multiclient = {
      allowed-by-default = true;
      always-on = "opt-out";
      auto-away = "opt-out";
      enabled = true;
    };
    registration = {
      allow-before-connect = true;
      bcrypt-cost = 4;
      email-verification = {
        enabled = false;
      };
      enabled = true;
      throttling = {
        duration = "10m";
        enabled = true;
        max-attempts = 30;
      };
    };
  };
  channels = {
    default-modes = "+ntC";
    registration = {
      enabled = true;
    };
  };
  datastore = {
    autoupgrade = true;
    path = "/var/lib/ergo/ircd.db";
  };
  history = {
    autoreplay-on-join = 0;
    autoresize-window = "3d";
    channel-length = 2048;
    chathistory-maxmessages = 100;
    client-length = 256;
    enabled = true;
    restrictions = {
      expire-time = "1w";
      grace-period = "1h";
      query-cutoff = "none";
    };
    retention = {
      allow-individual-delete = false;
      enable-account-indexing = false;
    };
    tagmsg-storage = {
      default = false;
      whitelist = [
        "+draft/react"
        "+react"
      ];
    };
    znc-maxmessages = 2048;
  };
  limits = {
    awaylen = 390;
    channellen = 64;
    identlen = 20;
    kicklen = 390;
    nicklen = 32;
    topiclen = 390;
  };
  network = {
    name = "testnetwork";
  };
  server = {
    casemapping = "permissive";
    check-ident = false;
    enforce-utf = true;
    forward-confirm-hostnames = false;
    ip-cloaking = {
      enabled = false;
    };
    ip-limits = {
      count = false;
      throttle = false;
    };
    listeners = {
      ":6667" = { };
    };
    lookup-hostnames = false;
    max-sendq = "1M";
    name = "example.com";
    relaymsg = {
      enabled = false;
    };
  };
}

Declared by: nixos/modules/services/networking/ergochat.nix

services.erigon.enable

Whether to enable Ethereum implementation on the efficiency frontier.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/blockchain/ethereum/erigon.nix

services.erigon.extraArgs

Additional arguments passed to Erigon

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/blockchain/ethereum/erigon.nix

services.erigon.package

The erigon package to use.

Type: package

Default: pkgs.erigon

Declared by: nixos/modules/services/blockchain/ethereum/erigon.nix

services.erigon.secretJwtPath

Path to the secret jwt used for the http api authentication.

Type: absolute path

Default: ""

Example: "config.age.secrets.ERIGON_JWT.path"

Declared by: nixos/modules/services/blockchain/ethereum/erigon.nix

services.erigon.settings

Configuration for Erigon Refer to https://github.com/ledgerwatch/erigon#usage for details on supported values.

Type: TOML value

Default:

{
  datadir = "/var/lib/erigon";
  chain = "mainnet";
  http = true;
  "http.port" = 8545;
  "http.api" = ["eth" "debug" "net" "trace" "web3" "erigon"];
  ws = true;
  port = 30303;
  "authrpc.port" = 8551;
  "torrent.port" = 42069;
  "private.api.addr" = "localhost:9090";
  "log.console.verbosity" = 3; # info
}

Example:

{
  "authrpc.port" = 8551;
  chain = "mainnet";
  datadir = "/var/lib/erigon";
  http = true;
  "http.api" = [
    "eth"
    "debug"
    "net"
    "trace"
    "web3"
    "erigon"
  ];
  "http.port" = 8545;
  "log.console.verbosity" = 3;
  port = 30303;
  "private.api.addr" = "localhost:9090";
  "torrent.port" = 42069;
  ws = true;
}

Declared by: nixos/modules/services/blockchain/ethereum/erigon.nix

services.errbot.instances

Errbot instance configs

Type: attribute set of (submodule)

Default: { }

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.admins

List of identifiers of errbot admins.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.backend

Errbot backend name.

Type: string

Default: "XMPP"

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.dataDir

Data directory for errbot instance.

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.extraConfig

String to be appended to the config verbatim

Type: strings concatenated with "\n"

Default: ""

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.identity

Errbot identity configuration

Type: attribute set

Default: { }

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.logLevel

Errbot log level

Type: string

Default: "INFO"

Declared by: nixos/modules/services/misc/errbot.nix

services.errbot.instances.<name>.plugins

List of errbot plugin derivations.

Type: list of package

Default: [ ]

Declared by: nixos/modules/services/misc/errbot.nix

services.ersatztv.baseUrl

Base URL to support reverse proxies that use paths (e.g. /ersatztv)

Type: string

Default: "/"

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.enable

Whether to enable ErsatzTV.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.environment

Environment variables to set for the ErsatzTV service.

Type: attribute set of (string or signed integer or floating point number or boolean or absolute path or package)

Default:

{
  ETV_BASE_URL = "/";
  ETV_UI_PORT = 8409;
}

Example:

{
  ETV_STREAMING_PORT = 8001;
  ETV_UI_PORT = 8000;
}

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.group

Group under which ErsatzTV runs.

Type: string

Default: "ersatztv"

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.openFirewall

Open the default ports in the firewall for the server.

Type: boolean

Default: false

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.package

The ersatztv package to use.

Type: package

Default: pkgs.ersatztv

Declared by: nixos/modules/services/misc/ersatztv.nix

services.ersatztv.user

User account under which ErsatzTV runs.

Type: string

Default: "ersatztv"

Declared by: nixos/modules/services/misc/ersatztv.nix

services.esdm.enable

Whether to enable ESDM service configuration.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/security/esdm.nix

services.esdm.enableLinuxCompatServices

Enable /dev/random, /dev/urandom and /proc/sys/kernel/random/* userspace wrapper.

Type: boolean

Default: true

Declared by: nixos/modules/services/security/esdm.nix

services.esdm.package

The esdm package to use.

Type: package

Default: pkgs.esdm

Declared by: nixos/modules/services/security/esdm.nix

services.espanso.enable

Whether to enable Espanso.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/desktops/espanso.nix

services.espanso.extraPackages

Extra packages to be added to Espanso service path.

Type: list of package

Default: [ ]

Example: with pkgs; [ bash curl python3 ];

Declared by: nixos/modules/services/desktops/espanso.nix

services.espanso.package

The espanso package to use.

Type: package

Default: pkgs.espanso

Example: pkgs.espanso-wayland

Declared by: nixos/modules/services/desktops/espanso.nix

services.esphome.address

ESPHome Device Builder HTTP address

Type: string

Default: "0.0.0.0"

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.allowedDevices

A list of device nodes to which esphome-device-builder has access to. Refer to DeviceAllow in systemd.resource-control(5) for more information. Beware that if a device is referred to by an absolute path instead of a device category, it will only allow devices that already are plugged in when the service is started.

Type: list of string

Default:

[
  "char-ttyS"
  "char-ttyUSB"
]

Example:

[
  "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"
]

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.enable

Whether to enable ESPHome Device Builder, for making custom firmwares for ESP32/ESP8266.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.enableUnixSocket

Listen on a unix socket /run/esphome/esphome.sock instead of the TCP port.

Type: boolean

Default: false

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.environment

Extra environment variables to pass to ESPHome. Secrets should be passed using the services.esphome.environmentFile option.

Type: attribute set of string

Default: { }

Example:

{
  ESPHOME_TRUSTED_DOMAINS = "dashboard.example.com";
}

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.environmentFile

Path to an environment file. Use this option for setting the dashboard password.

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.extraArgs

Extra command line arguments for the ESPHome Device Builder.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.logLevel

Log level of the ESPHome Device Builder

Type: one of "debug", "info", "warning", "error"

Default: "info"

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.openFirewall

Whether to open the firewall for the specified port.

Type: boolean

Default: false

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.package

The esphome-device-builder package to use.

Type: package

Default: pkgs.esphome-device-builder

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.port

ESPHome Device Builder HTTP port

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

Default: 6052

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.remoteBuildAddress

Address of the remote build server

Type: string

Default: "0.0.0.0"

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.remoteBuildOnly

Only run a headless remote build server and disable the local web dashboard

Type: boolean

Default: false

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.remoteBuildPort

Port of the remote build server

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

Default: 6055

Declared by: nixos/modules/services/home-automation/esphome.nix

services.esphome.trustedDomains

Hostnames the WebSocket handshake trusts (case-insensitive, port-tolerant)

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/home-automation/esphome.nix

services.etcd.advertiseClientUrls

Etcd list of this member's client URLs to advertise to the rest of the cluster.

Type: list of string

Default: config.services.etcd.listenClientUrls

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.certFile

Cert file to use for clients

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.clientCertAuth

Whether to use certs for client authentication

Type: boolean

Default: false

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.dataDir

Etcd data directory.

Type: absolute path

Default: "/var/lib/etcd"

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.discovery

Etcd discovery url

Type: string

Default: ""

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.enable

Whether to enable etcd.

Type: boolean

Default: false

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.extraConf

Etcd extra configuration. See https://github.com/coreos/etcd/blob/master/Documentation/op-guide/configuration.md#configuration-flags

Type: attribute set of string

Default: { }

Example:

{
  "CORS" = "*";
  "NAME" = "default-name";
  "MAX_RESULT_BUFFER" = "1024";
  "MAX_CLUSTER_SIZE" = "9";
  "MAX_RETRY_ATTEMPTS" = "3";
}

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.initialAdvertisePeerUrls

Etcd list of this member's peer URLs to advertise to rest of the cluster.

Type: list of string

Default: config.services.etcd.listenPeerUrls

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.initialCluster

Etcd initial cluster configuration for bootstrapping.

Type: list of string

Default: ["${config.services.etcd.name}=http://127.0.0.1:2380"]

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.initialClusterState

Etcd initial cluster configuration for bootstrapping.

Type: one of "new", "existing"

Default: "new"

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.initialClusterToken

Etcd initial cluster token for etcd cluster during bootstrap.

Type: string

Default: "etcd-cluster"

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.keyFile

Key file to use for clients

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.listenClientUrls

Etcd list of URLs to listen on for client traffic.

Type: list of string

Default:

[
  "http://127.0.0.1:2379"
]

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.listenPeerUrls

Etcd list of URLs to listen on for peer traffic.

Type: list of string

Default:

[
  "http://127.0.0.1:2380"
]

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.name

Etcd unique node name.

Type: string

Default: config.networking.hostName

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.openFirewall

Open etcd ports in the firewall. Ports opened:

  • 2379/tcp for client requests
  • 2380/tcp for peer communication

Type: boolean

Default: false

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.package

The etcd package to use.

Type: package

Default: pkgs.etcd

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.peerCertFile

Cert file to use for peer to peer communication

Type: null or absolute path

Default: config.services.etcd.certFile

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.peerClientCertAuth

Whether to check all incoming peer requests from the cluster for valid client certificates signed by the supplied CA

Type: boolean

Default: false

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.peerKeyFile

Key file to use for peer to peer communication

Type: null or absolute path

Default: config.services.etcd.keyFile

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.peerTrustedCaFile

Certificate authority file to use for peer to peer communication

Type: null or absolute path

Default: config.services.etcd.trustedCaFile

Declared by: nixos/modules/services/databases/etcd.nix

services.etcd.trustedCaFile

Certificate authority file to use for clients

Type: null or absolute path

Default: null

Declared by: nixos/modules/services/databases/etcd.nix

services.etebase-server.dataDir

Directory to store the Etebase server data.

Type: string

Default: "/var/lib/etebase-server"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.enable

Whether to enable the Etebase server.

Once enabled you need to create an admin user by invoking the shell command etebase-server createsuperuser with the user specified by the user option or a superuser. Then you can login and create accounts on your-etebase-server.com/admin

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.openFirewall

Whether to open ports in the firewall for the server.

Type: boolean

Default: false

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.package

The etebase-server package to use.

Type: package

Default: pkgs.etebase-server

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.port

Port to listen on.

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

Default: 8001

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings

Configuration for etebase-server. Refer to https://github.com/etesync/server/blob/master/etebase-server.ini.example and https://github.com/etesync/server/wiki for details on supported values.

Type: open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default: { }

Example:

{
  allowed_hosts = {
    allowed_host2 = "localhost";
  };
  global = {
    debug = true;
    media_root = "/path/to/media";
  };
}

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.allowed_hosts.allowed_host1

The main host that is allowed access.

Type: string

Default: "0.0.0.0"

Example: "localhost"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.database.engine

The database engine to use.

Type: one of "django.db.backends.sqlite3", "django.db.backends.postgresql"

Default: "django.db.backends.sqlite3"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.database.name

The database name.

Type: string

Default: "${config.services.etebase-server.dataDir}/db.sqlite3"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.global.debug

Whether to set django's DEBUG flag.

Type: boolean

Default: false

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.global.media_root

The media directory.

Type: string

Default: "${config.services.etebase-server.dataDir}/media"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.global.secret_file

The path to a file containing the secret used as django's SECRET_KEY.

Type: null or string

Default: null

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.settings.global.static_root

The directory for static files.

Type: string

Default: "${config.services.etebase-server.dataDir}/static"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.unixSocket

The path to the socket to bind to.

Type: null or string

Default: null

Example: "/run/etebase-server/etebase-server.sock"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.etebase-server.user

User under which Etebase server runs.

Type: string

Default: "etebase-server"

Declared by: nixos/modules/services/misc/etebase-server.nix

services.eternal-terminal.enable

Whether to enable Eternal Terminal server.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.eternal-terminal.logSize

The maximum log size.

Type: signed integer

Default: 20971520

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.eternal-terminal.port

The port the server should listen on. Will use the server's default (2022) if not specified.

Make sure to open this port in the firewall if necessary.

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

Default: 2022

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.eternal-terminal.silent

If enabled, disables all logging.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.eternal-terminal.telemetry

Collects anonymous usage data and crash reports.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.eternal-terminal.verbosity

The verbosity level (0-9).

Type: one of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Default: 0

Declared by: nixos/modules/services/networking/eternal-terminal.nix

services.etesync-dav.apiUrl

The url to the etesync API.

Type: string

Default: "https://api.etebase.com/partner/etesync/"

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.enable

Whether to enable etesync-dav, end-to-end encrypted sync for contacts, calendars and tasks.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.host

The server host address.

Type: string

Default: "localhost"

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.openFirewall

Whether to open the firewall for the specified port.

Type: boolean

Default: false

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.port

The server host port.

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

Default: 37358

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.sslCertificate

Path to server SSL certificate. It will be copied into etesync-dav's data directory.

Type: null or absolute path

Default: null

Example: "/var/etesync.crt"

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.etesync-dav.sslCertificateKey

Path to server SSL certificate key. It will be copied into etesync-dav's data directory.

Type: null or absolute path

Default: null

Example: "/var/etesync.key"

Declared by: nixos/modules/services/misc/etesync-dav.nix

services.evcc.enable

Whether to enable EVCC, the extensible EV Charge Controller and Home Energy Management System.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/home-automation/evcc.nix

services.evcc.environmentFile

File with environment variables to pass into the runtime environment.

Useful to pass secrets into the configuration, that get applied using envsubst.

Type: null or absolute path

Default: null

Example: "/run/keys/evcc"

Declared by: nixos/modules/services/home-automation/evcc.nix

services.evcc.extraArgs

Extra arguments to pass to the evcc executable.

Type: list of string

Default: [ ]

Declared by: nixos/modules/services/home-automation/evcc.nix

services.evcc.package

The evcc package to use.

Type: package

Default: pkgs.evcc

Declared by: nixos/modules/services/home-automation/evcc.nix

services.evcc.settings

evcc configuration as a Nix attribute set. Supports substitution of secrets using envsubst from the environmentFile.

Check for possible options in the sample evcc.dist.yaml.

Type: YAML 1.1 value

Default: null

Declared by: nixos/modules/services/home-automation/evcc.nix

services.evdevremapkeys.enable

Whether to enable evdevremapkeys, a daemon to remap events on linux input devices.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/evdevremapkeys.nix

services.evdevremapkeys.settings

config.yaml for evdevremapkeys

Type: YAML 1.1 value

Default: { }

Declared by: nixos/modules/services/misc/evdevremapkeys.nix

services.evremap.enable

Whether to enable evremap, a keyboard input remapper for Linux/Wayland systems.

Type: boolean

Default: false

Example: true

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings

Settings for evremap.

See the upstream documentation for how to configure evremap.

Type: open submodule of (TOML value)

Default: { }

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.device_name

The name of the device that should be remapped.

You can get a list of devices by running evremap list-devices with elevated permissions.

Type: string

Example: "AT Translated Set 2 keyboard"

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.dual_role

List of dual-role remappings that output different key sequences based on whether the input key is held or tapped.

Type: list of (submodule)

Default: [ ]

Example:

[
  {
    hold = [
      "KEY_LEFTCTRL"
    ];
    input = "KEY_CAPSLOCK";
    tap = [
      "KEY_ESC"
    ];
  }
]

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.dual_role.*.hold

The key sequence that should be output when the input key is held.

You can get a list of keys by running evremap list-keys.

Type: list of key ID prefixed with BTN_ or KEY_

Default: [ ]

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.dual_role.*.input

The key that should be remapped.

You can get a list of keys by running evremap list-keys.

Type: key ID prefixed with BTN_ or KEY_

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.dual_role.*.tap

The key sequence that should be output when the input key is tapped.

You can get a list of keys by running evremap list-keys.

Type: list of key ID prefixed with BTN_ or KEY_

Default: [ ]

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.phys

The physical device name to listen on.

This attribute may be specified to disambiguate multiple devices with the same device name. The physical device names of each device can be obtained by running evremap list-devices with elevated permissions.

Type: null or string

Default: null

Example: "usb-0000:07:00.3-2.1.1/input0"

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.remap

List of remappings.

Type: list of (submodule)

Default: [ ]

Example:

[
  {
    input = [
      "KEY_LEFTALT"
      "KEY_UP"
    ];
    output = [
      "KEY_PAGEUP"
    ];
  }
]

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.remap.*.input

The key sequence that should be remapped.

You can get a list of keys by running evremap list-keys.

Type: list of key ID prefixed with BTN_ or KEY_

Default: [ ]

Declared by: nixos/modules/services/misc/evremap.nix

services.evremap.settings.remap.*.output

The key sequence that should be output when the input sequence is entered.

You can get a list of keys by running evremap list-keys.

Type: list of key ID prefixed with BTN_ or KEY_

Default: [ ]

Declared by: nixos/modules/services/misc/evremap.nix

services.exim.config

Verbatim Exim configuration. This should not contain exim_user, exim_group, exim_path, or spool_directory.

Type: strings concatenated with "\n"

Default: ""

Declared by: nixos/modules/services/mail/exim.nix

services.exim.enable

Whether to enable the Exim mail transfer agent.

Type: boolean

Default: false

Declared by: nixos/modules/services/mail/exim.nix

services.exim.group

Group to use when no root privileges are required.

Type: string

Default: "exim"

Declared by: nixos/modules/services/mail/exim.nix

services.exim.package

The exim package to use. This can be used to enable features such as LDAP or PAM support.

Type: package

Default: pkgs.exim

Declared by: nixos/modules/services/mail/exim.nix

services.exim.queueRunnerInterval

How often to spawn a new queue runner.

Type: string

Default: "5m"

Declared by: nixos/modules/services/mail/exim.nix

services.exim.spoolDir

Location of the spool directory of exim.

Type: absolute path

Default: "/var/spool/exim"

Declared by: nixos/modules/services/mail/exim.nix

services.exim.user

User to use when no root privileges are required. In particular, this applies when receiving messages and when doing remote deliveries. (Local deliveries run as various non-root users, typically as the owner of a local mailbox.) Specifying this value as root is not supported.

Type: string

Default: "exim"

Declared by: nixos/modules/services/mail/exim.nix

services.expressvpn.enable

Enable the ExpressVPN daemon.

Type: boolean

Default: false

Declared by: nixos/modules/services/networking/expressvpn.nix