mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
19 lines
316 B
Nix
19 lines
316 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
in {
|
|
options.ci = with lib.types; {
|
|
enable =
|
|
mkEnableOption "build via CI"
|
|
// {
|
|
default = config.type == "NixOS";
|
|
};
|
|
allowFailure = mkOption {
|
|
type = bool;
|
|
default = false;
|
|
};
|
|
};
|
|
}
|