update giteaHost, fix redundant boolean
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 8s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m41s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 9m25s

This commit is contained in:
ahuston-0 2025-03-31 15:03:38 -04:00
parent b1ce62174b
commit 309c0128e9
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -44,7 +44,7 @@ let
emailoverride = ""; emailoverride = "";
}; };
giteaHost = "ssh://nayeonie.com:2222"; giteaHost = "ssh://gitea@nayeonie.com:2222";
repo = "ahuston-0/nix-dotfiles"; repo = "ahuston-0/nix-dotfiles";
# # Create a hydra job for a branch # # Create a hydra job for a branch
jobOfRef = jobOfRef =
@ -66,8 +66,8 @@ let
name = if info.draft then "draft-${id}" else "pr-${id}"; name = if info.draft then "draft-${id}" else "pr-${id}";
value = makeJob { value = makeJob {
description = "PR ${id}: ${info.title}"; description = "PR ${id}: ${info.title}";
flake = "git+ssh://gitea@nayeonie.com:2222/${info.head.repo.full_name}?ref=${info.head.ref}"; flake = "git+${giteaHost}/${repo}?ref=${info.head.ref}";
enabled = if info.state == "open" then 1 else 0; enabled = info.state == "open";
}; };
}; };