marukuru: add nix config to deployer container
This commit is contained in:
parent
3325bac83b
commit
382dad7c6d
1 changed files with 8 additions and 0 deletions
|
@ -160,6 +160,14 @@ in {
|
||||||
|
|
||||||
containers.deployer = {
|
containers.deployer = {
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
|
nix = {
|
||||||
|
binaryCaches = lib.mkForce [ "https://cache.nixos.org/" "s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1" ];
|
||||||
|
trustedBinaryCaches = lib.mkForce [ "https://cache.nixos.org/" "s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1" ];
|
||||||
|
envVars = {
|
||||||
|
AWS_ACCESS_KEY_ID = "${depot.ops.secrets.nixCache.AWS_ACCESS_KEY_ID}";
|
||||||
|
AWS_SECRET_ACCESS_KEY = "${depot.ops.secrets.nixCache.AWS_SECRET_ACCESS_KEY}";
|
||||||
|
};
|
||||||
|
};
|
||||||
environment.etc."secrets/gitlab-runner-registration" = {
|
environment.etc."secrets/gitlab-runner-registration" = {
|
||||||
text = ''
|
text = ''
|
||||||
CI_SERVER_URL=https://hg.lukegb.com
|
CI_SERVER_URL=https://hg.lukegb.com
|
||||||
|
|
Loading…
Reference in a new issue