Update hercules, but still not using it

This commit is contained in:
Sridhar Ratnakumar 2022-07-28 21:12:49 -04:00
parent 79152ec575
commit ce6c54b8f7
3 changed files with 9 additions and 9 deletions

12
flake.lock generated
View file

@ -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": {

View file

@ -94,7 +94,6 @@
[
./systems/hetzner/ax41.nix
./nixos/server/harden.nix
# ./nixos/hercules.nix
];
# For downloading stuff off internet in VPN.

View file

@ -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;
}