Skip to content

General

services.pcsd.enable

Whether to enable pcsd.

Type: boolean

Default: false

Example: true

Declared by: - modules/default.nix#L30

services.pcsd.enableBinaryCache

Option to add the binary cache to your settings.

Type: boolean

Default: false

Declared by: - modules/default.nix#L32

services.pcsd.enableWebUI

Enable the webUI of pcsd.

Type: boolean

Default: false

Declared by: - modules/default.nix#L133

services.pcsd.package

The pcs package to use.
By default, this option will use the packages.default as exposed by this flake.

Type: package

Default: pcsd.packages.x86_64-linux.default

Declared by: - modules/default.nix#L105

services.pcsd.clusterName

Name of the cluster. This option will be passed to services.corosync.clusterName.

Type: string

Default: "nixcluster"

Declared by: - modules/default.nix#L49

services.pcsd.clusterUserPasswordFile

Required path to a file containing the password of the hacluster user in clear text.

Type: null or absolute path

Declared by: - modules/default.nix#L151

services.pcsd.corosyncKeyFile

Required path to a file containing the key for corosync.
See corosync-keygen(8).

Type: null or absolute path

Declared by: - modules/default.nix#L41

services.pcsd.extraCommands

A list of additional pcs commands to run after everything else is setup.
Cannot have the -f option.
See pcs(8)

Type: list of string matching the pattern ^(pcs .*)$

Default: [ ]

Example:

1
2
3
[
  "pcs property set stonith-enabled=false"
]

Declared by: - modules/default.nix#L290

services.pcsd.finalPackage

The package defined by services.pcsd.package with overrides applied.

Type: package (read only)

Default:

pcsd.packages.x86_64-linux.default.override {
  pcs-web-ui = pcsd.packages.x86_64-linux.pcs-web-ui;
  withWebUI = false;
}

Declared by: - modules/default.nix#L115

services.pcsd.mainNode

The name of the node in charge of updating the cluster settings.
Defaults to the first node declared in services.pcsd.nodes.

Type: string

Default: "Name of your first node"

Declared by: - modules/default.nix#L57

services.pcsd.webUIPackage

The pcs webUI package to use.
By default, this option will use the packages.pcs-web-ui as exposed by this flake.

Type: package

Default: pcsd.packages.x86_64-linux.pcs-web-ui

Declared by: - modules/default.nix#L141