From a000bcc66dbcd8e6ed54eeda9d18558bc74b1845 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 12 Mar 2024 00:12:52 +0000 Subject: [PATCH] feat: simplified the dns a tad by passing through vars to functions --- config/dns.nix | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/config/dns.nix b/config/dns.nix index 681aab2..89eb142 100644 --- a/config/dns.nix +++ b/config/dns.nix @@ -1,10 +1,6 @@ {lib, ...}: { - imports = [ - # Paths to other modules. - # Compose this module out of smaller ones. - ]; + imports = []; - # this needs to mirror ../applications/dns.nix options.skynet = { records = lib.mkOption { description = "Records, sorted based on therir type"; @@ -18,7 +14,7 @@ skynet.records = { "skynet.ie" = [ { - record = "optimus-reborn2"; + record = "optimus-reborn"; r_type = "A"; value = "193.1.99.90"; server = true; @@ -50,37 +46,6 @@ # some space to avoid conflicts "conradcollins.net" = []; "edelharty.net" = []; - - "brendan.ie" = [ - { - record = "optimus-reborn2"; - r_type = "A"; - value = "193.1.99.90"; - server = true; - } - { - record = "panel.games"; - r_type = "CNAME"; - value = "optimus-reborn"; - } - { - record = "bumblebee"; - r_type = "A"; - value = "193.1.99.91"; - server = true; - } - { - record = "minecraft.compsoc.games"; - r_type = "CNAME"; - value = "bumblebee"; - } - { - record = "_minecraft._tcp.minecraft.compsoc.games.skynet.ie."; - r_type = "SRV"; - value = "0 10 25518 minecraft.compsoc.games.skynet.ie."; - } - ]; - }; }; }