mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-09 17:52:36 +08:00
more hercules
This commit is contained in:
parent
59d48328f8
commit
7680fa9e33
1 changed files with 4 additions and 2 deletions
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
# A separate container to run Hercules effects
|
||||
# https://docs.hercules-ci.com/hercules-ci/effects/
|
||||
#
|
||||
# TODO: Prevent access to local network, while allowing internet access
|
||||
{
|
||||
# TODO: hercules ci cache here
|
||||
nix.binaryCachePublicKeys = [
|
||||
"hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0="
|
||||
];
|
||||
|
|
@ -28,7 +29,8 @@
|
|||
];
|
||||
services.hercules-ci-agent.enable = true;
|
||||
services.hercules-ci-agent.settings.concurrentTasks = 4;
|
||||
services.hercules-ci-agent.settings.nixUserIsTrusted = lib.mkForce false;
|
||||
nix.allowedUsers = [ "*" ];
|
||||
nix.trustedUsers = [ "*" ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue