From d6076477f08f5009aec129e6a381711de4613441 Mon Sep 17 00:00:00 2001
From: Emile <git@emile.space>
Date: Thu, 19 Sep 2024 11:03:04 +0200
Subject: cleaned up the allowed-uris

---
 nix/hosts/corrino/configuration.nix | 35 +----------------------------------
 1 file changed, 1 insertion(+), 34 deletions(-)

(limited to 'nix/hosts')

diff --git a/nix/hosts/corrino/configuration.nix b/nix/hosts/corrino/configuration.nix
index acdfb49..8ef9556 100644
--- a/nix/hosts/corrino/configuration.nix
+++ b/nix/hosts/corrino/configuration.nix
@@ -435,43 +435,10 @@ in
 
     settings.trusted-users = [ "hydra" ];
 
-    settings.allowed-uris = [
-      "http://"
-      "https://"
-      "git.emile.space"
-      "git.emile.space/"
-      "git@git.emile.space"
-      "git@git.emile.space/"
-      "ssh://"
-      "ssh://git.emile.space"
-      "ssh://git.emile.space/"
-      "ssh://git.emile.space/hefe-internal"
-      "ssh://git.emile.space/hefe-internal/"
-      "git+ssh://"
-      "git+ssh://git.emile.space"
-      "git+ssh://git.emile.space/"
-      "git+ssh://git.emile.space/hefe-internal"
-      "git+ssh://git.emile.space/hefe-internal/"
-      "git+https://"
-      "git+https://git.emile.space"
-      "git+https://git.emile.space/"
-      "git+https://git.emile.space/hefe-internal"
-      "git+https://git.emile.space/hefe-internal/"
-      "git+https://github.com/"
-      "git+https://github.com/nixos/"
-      "git+https://github.com/nixpkgs/"
-    ];
-
     extraOptions = ''
       builders-use-substitutes = true
-      allowed-uris = http:// https://
+      allowed-uris = http://github.com https://git.emile.space
     '';
-    # allowed-uris = ssh://git@git.emile.space/hefe-internal git.emile.space git@git.emile.space ssh://git@git.emile.space
-    # 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 = [
-    #   "ssh://"
-    # ];
 
     buildMachines = [
       {
-- 
cgit 1.4.1