mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
fix: set nix settings in hercules ci
This commit is contained in:
parent
bec6fa7f8b
commit
dc161c9c37
2 changed files with 7 additions and 2 deletions
Binary file not shown.
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue