diff --git a/flake.lock b/flake.lock index 8aa4b67..1bd9f97 100644 --- a/flake.lock +++ b/flake.lock @@ -415,6 +415,28 @@ "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": { "inputs": { "hyprlang": [ @@ -695,6 +717,23 @@ "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": { "inputs": { "blobs": "blobs", @@ -718,6 +757,47 @@ "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": { "inputs": { "base16-schemes": "base16-schemes", @@ -1008,6 +1088,7 @@ "disko": "disko", "hardware": "hardware", "home-manager": "home-manager_2", + "hydra": "hydra", "hyprland": "hyprland", "hyprpicker": "hyprpicker", "lazy": "lazy", diff --git a/flake.nix b/flake.nix index d800099..ef2b1d1 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,11 @@ #inputs.nixpkgs.follows = "nixpkgs"; # broken until libseat fix }; + hydra = { + url = "github:nixos/hydra"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + hyprpicker = { url = "github:hyprwm/hyprpicker"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/hosts/nuos/configuration.nix b/hosts/nuos/configuration.nix index 510b2c8..3fcccb1 100644 --- a/hosts/nuos/configuration.nix +++ b/hosts/nuos/configuration.nix @@ -155,10 +155,13 @@ services = { hydra = { enable = true; - hydraURL = "http://0.0.0.0:9212"; + hydraURL = "https://hydra.itepastra.nl"; port = 9212; notificationSender = "hydra@localhost"; useSubstitutes = true; + # listenHost = "localhost"; + minimumDiskFree = 100; + minimumDiskFreeEvaluator = 100; }; nix-serve = { enable = true;