mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
19 lines
351 B
Nix
19 lines
351 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" && config.system == "x86_64-linux";
|
|
};
|
|
allowFailure = mkOption {
|
|
type = bool;
|
|
default = false;
|
|
};
|
|
};
|
|
}
|