Type: anything
Whether to run the comin service.
Type: boolean
Default:
falseThe comin package to use.
Type: null or package
Default:
"pkgs.comin or comin.packages.\${system}.default or null"The confirmer options for the build.
Type: submodule
Default:
{ }The autoconfirm timer duration in seconds. After this duration, the action is automatically confirmed.
Type: signed integer
Default:
120The confirmer mode. “without” immediately confirms without any user interaction. “manual” requires a user confirmation. “auto” automatically confirms after waiting for the autoconfirm_duration.
Type: one of “without”, “auto”, “manual”
Default:
"without"Whether to run comin in debug mode. Be careful, secrets are shown!.
Type: boolean
Default:
falseThe confirmer options for the deployment.
Type: submodule
Default:
{ }The autoconfirm timer duration in seconds. After this duration, the action is automatically confirmed.
Type: signed integer
Default:
120The confirmer mode. “without” immediately confirms without any user interaction. “manual” requires a user confirmation. “auto” automatically confirms after waiting for the autoconfirm_duration.
Type: one of “without”, “auto”, “manual”
Default:
"without"Whether to enable Whether to run the comin desktop service. This user service send notifications over DBus…
Type: boolean
Default:
falseExample:
trueThe notification title.
Type: string
Default:
"comin"Options for the Prometheus exporter.
Type: submodule
Default:
{ }Address to listen on for the Prometheus exporter. Empty string will listen on all interfaces.
Type: string
Default:
""Open port in firewall for incoming connections to the Prometheus exporter.
Type: boolean
Default:
falsePort to listen on for the Prometheus exporter.
Type: signed integer
Default:
4243A list of GPG public key file paths. Each of this file should contains an armored GPG key.
Type: list of string
Default:
[ ]The name of the configuration to evaluate and deploy. This value is used by comin to evaluate the flake output nixosConfigurations.“<hostname>” or darwinConfigurations.“<hostname>”. Defaults to networking.hostName - you MUST set either this option or networking.hostName in your configuration.
Type: string
Default:
config.networking.hostNameThe expected machine-id of the machine configured by comin. If not null, the configuration is only deployed when this specified machine-id is equal to the actual machine-id. This is mainly useful for server migration: this allows to migrate a configuration from a machine to another machine (with different hardware for instance) without impacting both. Note it is only used by comin at evaluation.
Type: null or string
Default:
nullA path to a script executed after each
deployment. comin provides to the script the following
environment variables: COMIN_GIT_SHA, COMIN_GIT_REF,
COMIN_GIT_MSG, COMIN_HOSTNAME, COMIN_FLAKE_URL,
COMIN_GENERATION, COMIN_STATUS and COMIN_ERROR_MSG.
Type: null or absolute path
Default:
nullExample:
pkgs.writers.writeBash "post" "echo $COMIN_GIT_SHA";Ordered list of repositories to pull.
Type: list of (submodule)
Authentication options.
Type: submodule
Default:
{ }The path of the auth file.
Type: string
Default:
""The username used to authenticate to the Git remote repository. Note that any non empty username is valid on GitLab and GitHub.
Type: string
Default:
"comin"Branches to pull.
Type: submodule
Default:
{ }The main branch to fetch.
Type: submodule
Default:
{ }The name of the main branch.
Type: string
Default:
"main"The switch-to-configuration operation to do on this branch.
Type: one of “switch”, “test”, “boot”
Default:
"switch"The testing branch to fetch.
Type: submodule
Default:
{ }The name of the testing branch.
Type: string
Default:
testing-${config.services.comin.hostname}The switch-to-configuration operation to do on this branch.
Type: one of “switch”, “test”, “boot”
Default:
"test"The name of the remote.
Type: string
The poller options.
Type: submodule
Default:
{ }The poller period in seconds.
Type: signed integer
Default:
60Git fetch timeout in seconds.
Type: signed integer
Default:
300The URL of the repository.
Type: string
Subdirectory in the repository, containing a default.nix or a flake.nix file.
Type: string
Default:
"."The type of the repository to fetch. It can either contains a flake or a classical Nix expression.
Type: one of “flake”, “nix”
Default:
"flake"Whether to fetch and include Git submodules when cloning the repository. When enabled, this adds ?submodules=1 to the flake URL.
Type: boolean
Default:
falseThis is the attribute containing the machine toplevel attribute. Note this is only used when the repositoryType is ‘nix’. When the repository type is ‘flake’, the attribute is derived from the hostname.
Type: null or string
Default:
null