pruflas: allow some inputs in nix when running in restricted mode (Hydra)

This commit is contained in:
Tim Schubert 2022-10-08 15:31:37 +02:00
parent e13a5a6b89
commit dc03d3f41e
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 6 additions and 2 deletions

View file

@ -29,11 +29,11 @@
url = github:dadada/recipemd/nix-flake; url = github:dadada/recipemd/nix-flake;
}; };
agenix = { agenix = {
url = "github:ryantm/agenix"; url = github:ryantm/agenix;
inputs.nixpkgs.follows = "myNixpkgs"; inputs.nixpkgs.follows = "myNixpkgs";
}; };
deploy-rs = { deploy-rs = {
url = "github:serokell/deploy-rs"; url = github:serokell/deploy-rs;
inputs.nixpkgs.follows = "myNixpkgs"; inputs.nixpkgs.follows = "myNixpkgs";
}; };
}; };

View file

@ -37,6 +37,10 @@ in
} }
]; ];
nix.extraOptions = ''
allowed-uris = https://github.com/NixOS https://github.com/nix-community https://github.com/dadada https://git.dadada.li/ github.com/ryantm/agenix github.com/serokell/deploy-rs https://gitlab.com/khumba/nvd.git
'';
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;