From 43afedad201327a280ab1222a1054e6d808182f8 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 10 Mar 2024 15:04:21 +0100 Subject: trying out yet another allowed-uris configuration --- nix/hosts/corrino/configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'nix/hosts/corrino') diff --git a/nix/hosts/corrino/configuration.nix b/nix/hosts/corrino/configuration.nix index cd293ba..ad541b6 100644 --- a/nix/hosts/corrino/configuration.nix +++ b/nix/hosts/corrino/configuration.nix @@ -333,11 +333,18 @@ }; # 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 = '' - allowed-uris = ssh://gitea@git.emile.space git+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:// - builders-use-substitutes = true + builders-use-substitutes = true ''; + settings.allowed-uris = [ + "github:" + "git+https://github.com/" + "git+ssh://github.com/" + ]; + buildMachines = [ { hostName = "localhost"; -- cgit 1.4.1