hydra: Use correct module

This commit is contained in:
emily 2024-10-17 15:58:16 +02:00
parent 5129bab73d
commit 4de085154b
Signed by: emily
GPG key ID: F6F4C66207FCF995
3 changed files with 12 additions and 11 deletions

View file

@ -1,6 +1,7 @@
{ config, inputs, lib, ... }: { { config, inputs, lib, ... }: {
imports = [ imports = [
./nix-config.nix ./nix-config.nix
inputs.hydra.nixosModules.hydra
]; ];
sops.secrets."services/hydra/signKey" = { sops.secrets."services/hydra/signKey" = {
owner = "hydra-queue-runner"; owner = "hydra-queue-runner";
@ -18,7 +19,7 @@
}; };
kyouma.deployment.auto-upgrade.cache = "daemon"; kyouma.deployment.auto-upgrade.cache = "daemon";
services.hydra = { services.hydra-dev = {
enable = true; enable = true;
package = inputs.hydra.packages.${config.nixpkgs.hostPlatform.system}.hydra; package = inputs.hydra.packages.${config.nixpkgs.hostPlatform.system}.hydra;
hydraURL = "https://hydra.kyouma.net"; hydraURL = "https://hydra.kyouma.net";

View file

@ -543,17 +543,17 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1724696781, "lastModified": 1728321752,
"narHash": "sha256-oDLfi7PdElAdhGK8i+mQ4OOn6Hu3vzHiYnuFcHoJ0IU=", "narHash": "sha256-GbBAoBF7ZObz0IP+g0LZKxMafpMvNKjTEu9haiZbV54=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "ab6d81fad404af05dfeae7f74d1783a2f7367826", "rev": "ee1234c15cdcb427dbd4828e0add09d02cd606c9",
"revCount": 4205, "revCount": 4220,
"type": "git", "type": "git",
"url": "https://git.lix.systems/snaakey/hydra.git" "url": "https://git.lix.systems/lix-project/hydra"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://git.lix.systems/snaakey/hydra.git" "url": "https://git.lix.systems/lix-project/hydra"
} }
}, },
"iceshrimp": { "iceshrimp": {
@ -842,11 +842,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1723688146, "lastModified": 1728193676,
"narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=", "narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c3d4ac725177c030b1e289015989da2ad9d56af0", "rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -26,7 +26,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hydra = { hydra = {
url = "git+https://git.lix.systems/snaakey/hydra.git"; url = "git+https://git.lix.systems/lix-project/hydra";
inputs.lix.follows = "lix"; inputs.lix.follows = "lix";
}; };
iceshrimp = { iceshrimp = {