Skip to content

settings

Attribute: clan.core.settings

Settings of the clan.

This is a read-only attribute-set available to the machines of the clan.

Type: submodule

Declared in: nixosModules/clanCore/state-version

directory

Attribute: clan.core.settings.directory

the location of the flake repo, used to calculate the location of facts and secrets

Type: absolute path

Declared in: nixosModules/clanCore/metadata.nix

icon

Attribute: clan.core.settings.icon

Readonly

the location of the clan icon

Type: null or absolute path

Declared in: nixosModules/clanCore/metadata.nix

machine

Attribute: clan.core.settings.machine

Settings of the machine.

This is a read-only attribute-set available to the machines of the clan.

Type: submodule

Default:

{ }

Declared in: nixosModules/clanCore/metadata.nix

description

Attribute: clan.core.settings.machine.description

the description of the machine

Type: null or string

Default:

null

Declared in: nixosModules/clanCore/metadata.nix

icon

Attribute: clan.core.settings.machine.icon

the location of the machine icon

Type: null or absolute path

Default:

null

Declared in: nixosModules/clanCore/metadata.nix

name

Attribute: clan.core.settings.machine.name

Readonly

the name of the machine

Type: string

Declared in: nixosModules/clanCore/metadata.nix

machine-id

Attribute: clan.core.settings.machine-id

enable

Attribute: clan.core.settings.machine-id.enable

Whether to enable machine ID generation. Sets the /etc/machine-id and exposes it as a nix option. This unique ID that is not dependent on ephemeral or variable data, such as hostnames, MAC addresses or IP addresses.

See https://www.freedesktop.org/software/systemd/man/latest/machine-id.html for details. .

Type: boolean

Default:

false
Example
true

Declared in: nixosModules/clanCore/machine-id

name

Attribute: clan.core.settings.name

Readonly

the name of the clan

Type: string

Declared in: nixosModules/clanCore/metadata.nix

state-version

Attribute: clan.core.settings.state-version

enable

Attribute: clan.core.settings.state-version.enable

Whether to enable automatic state-version generation.

The option will take the specified version, if one is already supplied through
the config or generate one if not.

Type: boolean

Default:

false
Example
true

Declared in: nixosModules/clanCore/state-version