1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 18:47:44 +00:00

fix: set nix settings in hercules ci

This commit is contained in:
RGBCube 2025-02-26 01:30:36 +03:00
parent bec6fa7f8b
commit dc161c9c37
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View file

@ -1,5 +1,5 @@
{ config, lib, ... }: let
inherit (lib) enabled genAttrs;
{ self, config, lib, ... }: let
inherit (lib) enabled genAttrs removeAttrs;
in {
secrets.awsCredentials = {
file = ./credentials.age;
@ -30,6 +30,11 @@ in {
binaryCachesPath = config.secrets.herculesCaches.path;
clusterJoinTokenPath = config.secrets.herculesToken.path;
secretsJsonPath = config.secrets.herculesSecrets.path;
nixSettings = removeAttrs (import <| self + /flake.nix).nixConfig [
"extra-substituters"
"extra-trusted-private-keys"
];
};
};
}