diff --git a/terraform/hydra.nix b/terraform/hydra.nix index 39e62bb..b758616 100644 --- a/terraform/hydra.nix +++ b/terraform/hydra.nix @@ -284,5 +284,45 @@ in } ]; }; + + resource.hydra_jobset.nixos-main = { + project = config.resource.hydra_project.forkos.name; + state = "enabled"; + visible = true; + name = "nixos-main"; + type = "legacy"; + description = "nixos jobset for the main branch"; + + nix_expression = { + file = "nixos/release-combined.nix"; + input = "nixpkgs"; + }; + + check_interval = 0; + scheduling_shares = 3000; + keep_evaluations = 3; + + email_notifications = false; + + input = [ + { + name = "nixpkgs"; + type = "git"; + value = "https://cl.forkos.org/nixpkgs main"; + notify_committers = false; + } + { + name = "officialRelease"; + type = "boolean"; + value = "false"; + notify_committers = false; + } + { + name = "supportedSystems"; + type = "nix"; + value = ''[ "x86_64-linux" ]''; + } + ]; + }; }; }