Skip to content

Rosenpass

services.rosenpass.defaultDevice

Name of the network interface to use for all peers by default. Type: null or string

Example

"wg0"

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

services.rosenpass.enable

Whether to enable Rosenpass. Type: boolean

Default

false

Example

true

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

services.rosenpass.package

The rosenpass package to use. Type: package

Default

pkgs.rosenpass

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

services.rosenpass.settings

Configuration for Rosenpass, see https://rosenpass.eu/ for further information. Type: TOML value

Default

{ }

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

services.rosenpass.settings.listen

List of local endpoints to listen for connections. Type: list of string

Default

[ ]

Example

[ "0.0.0.0:10000" ]

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

services.rosenpass.settings.peers

List of peers to exchange keys with. Type: list of (TOML value)

Default

[ ]

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

services.rosenpass.settings.peers.*.device

Name of the local WireGuard interface to use for this peer. Type: string

Default

config.services.rosenpass.defaultDevice

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

services.rosenpass.settings.peers.*.endpoint

Endpoint of the remote Rosenpass peer. Type: null or string

Default

null

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

services.rosenpass.settings.peers.*.peer

WireGuard public key corresponding to the remote Rosenpass peer. Type: string

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

services.rosenpass.settings.peers.*.public_key

Path to a file containing the public key of the remote Rosenpass peer. Type: path

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

services.rosenpass.settings.public_key

Path to a file containing the public key of the local Rosenpass peer. Generate this by running {command}rosenpass gen-keys. Type: path

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

services.rosenpass.settings.secret_key

Path to a file containing the secret key of the local Rosenpass peer. Generate this by running {command}rosenpass gen-keys. Type: path

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

services.rosenpass.settings.verbosity

Verbosity of output produced by the service. Type: one of "Verbose", "Quiet"

Default

"Quiet"

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