MyNixOS website logo
option

services.komodo-periphery.configFile

Path to the Periphery configuration file.

  • If null (default), a configuration file will be automatically generated from the module options (recommended for most users).
  • If set to a path, that file will be used directly as the configuration file.
  • You can also use pkgs.writeText to write configuration inline in your NixOS configuration.

When using a custom config file, all other module options (except package, user, group, environment, and environmentFile) will be ignored.

Declarations
Type
null or absolute path
Default
null
Example
# Option 1: Use an existing config file
"/etc/komodo/periphery.toml"

# Option 2: Write config inline using pkgs.writeText
pkgs.writeText "periphery.toml" ''
  root_directory = "/var/lib/komodo-periphery"

  logging.level = "info"
  logging.stdio = "standard"
''