diff --git a/flake.lock b/flake.lock index a083033..75f7679 100644 --- a/flake.lock +++ b/flake.lock @@ -166,11 +166,11 @@ "pre-commit-hooks-nix": "pre-commit-hooks-nix" }, "locked": { - "lastModified": 1655818637, - "narHash": "sha256-5Z6q7q6MPcV56dP6gtQOnPB9LyTsPmyL6syKpkNsuHg=", + "lastModified": 1658408533, + "narHash": "sha256-gHORUY3B4EufNRokgex8gf+m9I+yEHioDfZpCQ3pvAo=", "owner": "hercules-ci", "repo": "hercules-ci-agent", - "rev": "184d39f73092cefe4d7e8c981d0f51df8c62c3d3", + "rev": "0d8c4f153e64c059d1d274306fb38da0ed870bb1", "type": "github" }, "original": { @@ -353,11 +353,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1655567057, - "narHash": "sha256-Cc5hQSMsTzOHmZnYm8OSJ5RNUp22bd5NADWLHorULWQ=", + "lastModified": 1658161305, + "narHash": "sha256-X/nhnMCa1Wx4YapsspyAs6QYz6T/85FofrI6NpdPDHg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e0a42267f73ea52adc061a64650fddc59906fc99", + "rev": "e4d49de45a3b5dbcb881656b4e3986e666141ea9", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1190267..182ba01 100644 --- a/flake.nix +++ b/flake.nix @@ -94,7 +94,6 @@ [ ./systems/hetzner/ax41.nix ./nixos/server/harden.nix - # ./nixos/hercules.nix ]; # For downloading stuff off internet in VPN. diff --git a/nixos/hercules.nix b/nixos/hercules.nix index e7e3280..a3f77e0 100644 --- a/nixos/hercules.nix +++ b/nixos/hercules.nix @@ -1,10 +1,11 @@ { config, pkgs, lib, inputs, ... }: -# https://docs.hercules-ci.com/hercules-ci/effects/ +# https://github.com/hercules-ci/hercules-ci-agent/blob/master/templates/nixos/flake.nix +# https://docs.hercules-ci.com/hercules-ci/getting-started/deploy/nixos/ { imports = [ inputs.hercules-ci-agent.nixosModules.agent-service ]; services.hercules-ci-agent.enable = true; - services.hercules-ci-agent.settings.concurrentTasks = 16; + services.hercules-ci-agent.settings.concurrentTasks = 6; }