From 309c0128e9cda2d7394e7964a605f699f920f96c Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 31 Mar 2025 15:03:38 -0400 Subject: [PATCH] update giteaHost, fix redundant boolean --- hydra/jobsets.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hydra/jobsets.nix b/hydra/jobsets.nix index 1b19102..ed8f883 100644 --- a/hydra/jobsets.nix +++ b/hydra/jobsets.nix @@ -44,7 +44,7 @@ let emailoverride = ""; }; - giteaHost = "ssh://nayeonie.com:2222"; + giteaHost = "ssh://gitea@nayeonie.com:2222"; repo = "ahuston-0/nix-dotfiles"; # # Create a hydra job for a branch jobOfRef = @@ -66,8 +66,8 @@ let name = if info.draft then "draft-${id}" else "pr-${id}"; value = makeJob { description = "PR ${id}: ${info.title}"; - flake = "git+ssh://gitea@nayeonie.com:2222/${info.head.repo.full_name}?ref=${info.head.ref}"; - enabled = if info.state == "open" then 1 else 0; + flake = "git+${giteaHost}/${repo}?ref=${info.head.ref}"; + enabled = info.state == "open"; }; }; -- 2.48.1