Skip to content

Scion

services.scion.bypassBootstrapWarning

bypass Nix warning about SCION PKI bootstrapping

Type: boolean

Default

false

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

services.scion.enable

Whether to enable all of the scion components and services. Type: boolean

Default

false

Example

true

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

services.scion.package

The scion package to use. Type: package

Default

pkgs.scion

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

services.scion.scion-control.enable

Whether to enable the scion-control service. Type: boolean

Default

false

Example

true

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

services.scion.scion-control.settings

scion-control configuration. Refer to https://docs.scion.org/en/latest/manuals/common.html for details on supported values.

Type: TOML value

Default

{ }

Example

{path_db = {connection = "/run/scion-control/control.path.db";};log.console = {level = "info";};}

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

services.scion.scion-daemon.enable

Whether to enable the scion-daemon service. Type: boolean

Default

false

Example

true

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

services.scion.scion-daemon.settings

scion-daemon configuration. Refer to https://docs.scion.org/en/latest/manuals/common.html for details on supported values.

Type: TOML value

Default

{ }

Example

{path_db = {connection = "/run/scion-daemon/sd.path.db";};log.console = {level = "info";};}

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

services.scion.scion-dispatcher.enable

Whether to enable the scion-dispatcher service. Type: boolean

Default

false

Example

true

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

services.scion.scion-dispatcher.settings

scion-dispatcher configuration. Refer to https://docs.scion.org/en/latest/manuals/common.html for details on supported values.

Type: TOML value

Default

{ }

Example

{dispatcher = {id = "dispatcher";socket_file_mode = "0770";application_socket = "/dev/shm/dispatcher/default.sock";};log.console = {level = "info";};}

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

services.scion.scion-router.enable

Whether to enable the scion-router service. Type: boolean

Default

false

Example

true

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

services.scion.scion-router.settings

scion-router configuration. Refer to https://docs.scion.org/en/latest/manuals/common.html for details on supported values.

Type: TOML value

Default

{ }

Example

{general.id = "br";}

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

services.scion.stateless

Setting this value to false (stateful) can lead to improved caching and performance.

This option decides whether to persist the SCION path sqlite databases on disk or not. Persisting this data can lead to database corruption in extreme cases such as power outage, meaning SCION fails to work on the next boot. This is being investigated.

If true, /run/scion-* is used for data If false, use /var/lib/scion-* is used for data

Type: boolean

Default

true

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