Fix issues after updating lockfile
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
alejandro-angulo 2026-01-19 08:48:51 -08:00
parent a5d42d3a0c
commit a3ac254912
12 changed files with 215 additions and 157 deletions

View file

@ -49,7 +49,7 @@ in
{
environment.systemPackages = with pkgs; [
nix-prefetch
nixfmt-rfc-style
nixfmt
];
nix =

View file

@ -2,10 +2,20 @@
config,
lib,
namespace,
inputs,
pkgs,
...
}:
let
cfg = config.${namespace}.services.hydra;
pkgs-stable = import inputs.nixpkgs-stable {
inherit (pkgs) system;
config = {
allowUnfree = true;
permittedInsecurePackages = pkgs.config.permittedInsecurePackages or [ ];
};
};
in
{
options.${namespace}.services.hydra = with lib; {
@ -72,6 +82,7 @@ in
services.hydra = {
enable = true;
package = pkgs-stable.hydra; # Use older Hydra version from nixpkgs stable
hydraURL = "https://${cfg.hostname}";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
@ -88,16 +99,15 @@ in
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts."hydra.kilonull.com" =
{
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.hydra.port}";
};
}
// lib.optionalAttrs (cfg.acmeCertName != "") {
forceSSL = true;
useACMEHost = cfg.acmeCertName;
virtualHosts."hydra.kilonull.com" = {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.hydra.port}";
};
}
// lib.optionalAttrs (cfg.acmeCertName != "") {
forceSSL = true;
useACMEHost = cfg.acmeCertName;
};
};
nix.settings = {

View file

@ -31,7 +31,7 @@ in
jq
killall
lsof
nixfmt-rfc-style
nixfmt
pre-commit
progress
python3