From 2600d6e9316709ae6999b52bdcbeb60c04a3f26b Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 4 Jun 2024 14:50:37 +0200 Subject: cleaning up the allowed-uris --- nix/hosts/corrino/configuration.nix | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/nix/hosts/corrino/configuration.nix b/nix/hosts/corrino/configuration.nix index 342916d..28b3d74 100644 --- a/nix/hosts/corrino/configuration.nix +++ b/nix/hosts/corrino/configuration.nix @@ -344,29 +344,15 @@ in { dates = [ "03:45" ]; }; - # we need the below in order for hydra to be allowed to access the pages - # ssh://gitea@git.emile.space/ - # allowed-uris = https://git.emile.space/ https://git.emile.space/ https://portswigger-cdn.net/ https://git.sr.ht/ https://gitlab.com/simple-nixos-mailserver/ https://github.com/nixos/nixpkgs/ http:// https:// extraOptions = '' - builders-use-substitutes = true - allowed-uris = git.emile.space: gitea@git.emile.space: ssh://gitea@git.emile.space/hanemile/hefe-internal.git git+ssh: git+https: + builders-use-substitutes = true + allowed-uris = ssh:// ''; + # allowed-uris = git.emile.space: gitea@git.emile.space: ssh://gitea@git.emile.space/hanemile/hefe-internal.git git+ssh: git+https: - settings.allowed-uris = [ - "git+ssh:" - "git+https:" - - "github:" - "git+https://github.com/" - "git+ssh://github.com/" - - "git.emile.space:" - "gitea@git.emile.space:" - "ssh://gitea@git.emile.space/hanemile/" - "ssh://gitea@git.emile.space/hanemile/hefe-internal.git" - "ssh://git.emile.space/hanemile/" - "git+ssh://git.emile.space/hanemile/" - ]; + # settings.allowed-uris = [ + # "ssh://" + # ]; buildMachines = [ { -- cgit 1.4.1