feat: migrate to Gensokyo-zone/infrastructure systems modules

This commit is contained in:
Kat Inskip 2024-07-13 12:25:35 -07:00
parent d021ec2e15
commit c5e8103b6b
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
6 changed files with 196 additions and 174 deletions

19
modules/system/ci.nix Normal file
View file

@ -0,0 +1,19 @@
{
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;
};
};
}