From d2f62b6ff3b96ce79816fcd085ff351244ef7b8b Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sat, 22 Jun 2024 23:01:15 +0100 Subject: [PATCH] Infisical Secrets DNS, types --- dns/dns.nix | 1 + dns/nextdns.nix | 1 + homelab/custom.nix | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/dns/dns.nix b/dns/dns.nix index 8033ec1..b04aa08 100644 --- a/dns/dns.nix +++ b/dns/dns.nix @@ -165,6 +165,7 @@ "metube" "search" "red" + "secrets" ] (name: {cname.data = "cluster.gmem.ca";}) // lib.attrsets.genAttrs [ # Externally hosted applications with Tunnels diff --git a/dns/nextdns.nix b/dns/nextdns.nix index 6122278..5bf212d 100644 --- a/dns/nextdns.nix +++ b/dns/nextdns.nix @@ -46,6 +46,7 @@ "e6" "red" "minecraft-invites" + "secrets" ] (name: { name = name + ".gmem.ca"; content = "homelab.gmem.ca"; diff --git a/homelab/custom.nix b/homelab/custom.nix index 199b7f0..bdacba4 100644 --- a/homelab/custom.nix +++ b/homelab/custom.nix @@ -18,5 +18,13 @@ }; }; } + + { + name = "infisicalsecrets"; + attrName = "infisicalsecret"; + group = "secrets.infisical.com"; + kind = "InfisicalSecret"; + version = "v1alpha1"; + } ]; }