feat: add hydra repo package

This commit is contained in:
Noa Aarts 2024-10-21 14:41:47 +02:00
parent 425d3fc80d
commit f7010e5367
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 90 additions and 1 deletions

81
flake.lock generated
View file

@ -415,6 +415,28 @@
"type": "github" "type": "github"
} }
}, },
"hydra": {
"inputs": {
"libgit2": "libgit2",
"nix": "nix",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729429608,
"narHash": "sha256-jtz7EhNyYYQqFnqNq30xT1U0ESVWqVQltTN8vuC2kTQ=",
"owner": "nixos",
"repo": "hydra",
"rev": "d3966d3e4c82b9b2418f95455dd243427e995077",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "hydra",
"type": "github"
}
},
"hyprcursor": { "hyprcursor": {
"inputs": { "inputs": {
"hyprlang": [ "hyprlang": [
@ -695,6 +717,23 @@
"type": "github" "type": "github"
} }
}, },
"libgit2": {
"flake": false,
"locked": {
"lastModified": 1715853528,
"narHash": "sha256-J2rCxTecyLbbDdsyBWn9w7r3pbKRMkI9E7RvRgAqBdY=",
"owner": "libgit2",
"repo": "libgit2",
"rev": "36f7e21ad757a3dacc58cf7944329da6bc1d6e96",
"type": "github"
},
"original": {
"owner": "libgit2",
"ref": "v1.8.1",
"repo": "libgit2",
"type": "github"
}
},
"mailserver": { "mailserver": {
"inputs": { "inputs": {
"blobs": "blobs", "blobs": "blobs",
@ -718,6 +757,47 @@
"type": "gitlab" "type": "gitlab"
} }
}, },
"nix": {
"inputs": {
"flake-compat": [
"hydra"
],
"flake-parts": [
"hydra"
],
"git-hooks-nix": [
"hydra"
],
"libgit2": [
"hydra",
"libgit2"
],
"nixpkgs": [
"hydra",
"nixpkgs"
],
"nixpkgs-23-11": [
"hydra"
],
"nixpkgs-regression": [
"hydra"
]
},
"locked": {
"lastModified": 1726787955,
"narHash": "sha256-XFznzb8L4SdUm9u+w3DPpMWJhffuv+/6+aiVl00slns=",
"owner": "NixOS",
"repo": "nix",
"rev": "a7fdef6858dd45b9d7bda7c92324c63faee7f509",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "2.24-maintenance",
"repo": "nix",
"type": "github"
}
},
"nix-colors": { "nix-colors": {
"inputs": { "inputs": {
"base16-schemes": "base16-schemes", "base16-schemes": "base16-schemes",
@ -1008,6 +1088,7 @@
"disko": "disko", "disko": "disko",
"hardware": "hardware", "hardware": "hardware",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hydra": "hydra",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprpicker": "hyprpicker", "hyprpicker": "hyprpicker",
"lazy": "lazy", "lazy": "lazy",

View file

@ -24,6 +24,11 @@
#inputs.nixpkgs.follows = "nixpkgs"; # broken until libseat fix #inputs.nixpkgs.follows = "nixpkgs"; # broken until libseat fix
}; };
hydra = {
url = "github:nixos/hydra";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpicker = { hyprpicker = {
url = "github:hyprwm/hyprpicker"; url = "github:hyprwm/hyprpicker";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -155,10 +155,13 @@
services = { services = {
hydra = { hydra = {
enable = true; enable = true;
hydraURL = "http://0.0.0.0:9212"; hydraURL = "https://hydra.itepastra.nl";
port = 9212; port = 9212;
notificationSender = "hydra@localhost"; notificationSender = "hydra@localhost";
useSubstitutes = true; useSubstitutes = true;
# listenHost = "localhost";
minimumDiskFree = 100;
minimumDiskFreeEvaluator = 100;
}; };
nix-serve = { nix-serve = {
enable = true; enable = true;