Skip to content

clan-core

clan.core is always included in each machine config. Your can customize your machines behavior with the configuration options provided below.

Module Options

The following options are available for this module.

clan.core.clanDir

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

Type: path

metadata.nix

clan.core.icon

Readonly

the location of the clan icon

Type: null or path

metadata.nix

clan.core.machineDescription

the description of the machine

Type: null or string

Default:

null

metadata.nix

clan.core.machineIcon

the location of the machine icon

Type: null or path

Default:

null

metadata.nix

clan.core.machineName

the name of the machine

Type: string

Default:

"nixos"

metadata.nix

clan.core.name

Readonly

the name of the clan

Type: string

metadata.nix

clan.core.state

Define state directories to backup and restore

Type: attribute set of (submodule)

Default:

{ }

state.nix

clan.core.vars

Generated Variables

Define generators that prompt for or generate variables like facts and secrets to store, deploy, and rotate them easily. For example, generators can be used to: - prompt the user for input, like passwords or host names - generate secrets like private keys automatically when they are needed - output multiple values like private and public keys simultaneously

Type: submodule

vars