From 05a4dbf16fa3a67ac3a6541184eab80fe346f6af Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Sat, 8 Feb 2025 23:04:04 -0500 Subject: setup auth.getchoo.com --- systems/atlas/default.nix | 1 + systems/atlas/kanidm.nix | 6 ++++++ terraform/dns.tf | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 systems/atlas/kanidm.nix diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index a959a32..f08847f 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -4,6 +4,7 @@ (modulesPath + "/profiles/minimal.nix") ./hardware-configuration.nix ./forgejo.nix + ./kanidm.nix ./miniflux.nix ./moyai.nix ./nixpkgs-tracker-bot.nix diff --git a/systems/atlas/kanidm.nix b/systems/atlas/kanidm.nix new file mode 100644 index 0000000..dc1e534 --- /dev/null +++ b/systems/atlas/kanidm.nix @@ -0,0 +1,6 @@ +{ + services.kanidm = { + enableClient = true; + enableServer = true; + }; +} diff --git a/terraform/dns.tf b/terraform/dns.tf index 31bd9d6..462ce37 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -44,6 +44,11 @@ locals { type = "CNAME" content = resource.cloudflare_pages_project.teawie_api.subdomain }, + { + name = "auth" + type = "A" + content = resource.oci_core_instance.atlas.public_ip + }, { name = "miniflux" type = "A" -- cgit v1.2.3