Revert "modules/darwin/hercules-ci: add security to service path"
This reverts commit5da85a9b72
. Fixed in nix-darwin by251eaabfa0
This commit is contained in:
parent
66ab4f3a94
commit
df589eed39
1 changed files with 1 additions and 10 deletions
|
@ -1,9 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
securityWrapper = pkgs.writeScriptBin "security" ''
|
||||
exec /usr/bin/security "$@"
|
||||
'';
|
||||
in
|
||||
{ config, ... }:
|
||||
{
|
||||
age.secrets.binary-caches = {
|
||||
file = ../../../secrets/binary-caches.age;
|
||||
|
@ -25,8 +20,4 @@ in
|
|||
binaryCachesPath = config.age.secrets.binary-caches.path;
|
||||
clusterJoinTokenPath = config.age.secrets.cluster-join-token.path;
|
||||
};
|
||||
|
||||
# hercules-ci-agent: security: createProcess: posix_spawnp: does not exist
|
||||
# https://github.com/LnL7/nix-darwin/blob/36524adc31566655f2f4d55ad6b875fb5c1a4083/modules/services/hercules-ci-agent/default.nix#L28
|
||||
launchd.daemons.hercules-ci-agent.path = pkgs.lib.mkForce [ config.nix.package securityWrapper ];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue