2024-01-27 18:53:49 +00:00
|
|
|
{lib, ...}: {
|
|
|
|
imports = [
|
|
|
|
];
|
|
|
|
|
|
|
|
options.skynet.records = lib.mkOption {
|
|
|
|
description = "Records, sorted based on therir type";
|
2024-07-16 21:31:28 +00:00
|
|
|
type = lib.types.listOf (lib.types.submodule (import ../applications/dns/options-records.nix {
|
|
|
|
inherit lib;
|
|
|
|
}));
|
2024-01-27 18:53:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = {
|
2024-07-17 02:00:20 +00:00
|
|
|
skynet.records =
|
|
|
|
[
|
2024-12-04 19:32:51 +00:00
|
|
|
# Proxmox hosts
|
|
|
|
{
|
|
|
|
record = "jarvis";
|
|
|
|
r_type = "A";
|
|
|
|
value = "193.1.99.73";
|
|
|
|
server = true;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "ultron";
|
|
|
|
r_type = "A";
|
|
|
|
value = "193.1.99.84";
|
|
|
|
server = true;
|
|
|
|
}
|
2024-10-05 10:15:38 +00:00
|
|
|
# wifi in server room
|
|
|
|
{
|
|
|
|
record = "ash";
|
|
|
|
r_type = "A";
|
|
|
|
value = "193.1.99.114";
|
|
|
|
server = true;
|
|
|
|
}
|
2024-07-17 02:00:20 +00:00
|
|
|
{
|
|
|
|
record = "optimus";
|
|
|
|
r_type = "A";
|
|
|
|
value = "193.1.99.90";
|
|
|
|
server = true;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "panel.games";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "optimus";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
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";
|
2024-07-19 23:51:24 +00:00
|
|
|
value = "0 10 25518 bumblebee.skynet.ie.";
|
2024-07-17 02:00:20 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "minecraft-classic.compsoc.games";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "bumblebee";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "_minecraft._tcp.minecraft-classic.compsoc.games.skynet.ie.";
|
|
|
|
r_type = "SRV";
|
2024-07-19 23:51:24 +00:00
|
|
|
value = "0 10 25518 bumblebee.skynet.ie.";
|
2024-07-17 02:00:20 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "minecraft.gsoc.games";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "bumblebee";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "_minecraft._tcp.minecraft.gsoc.games.skynet.ie.";
|
|
|
|
r_type = "SRV";
|
2024-07-19 23:51:24 +00:00
|
|
|
value = "0 10 25521 bumblebee.skynet.ie.";
|
2024-07-17 02:00:20 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "minecraft.phildeb.games";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "bumblebee";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "_minecraft._tcp.minecraft.phildeb.games.skynet.ie.";
|
|
|
|
r_type = "SRV";
|
2024-07-19 23:51:24 +00:00
|
|
|
value = "0 10 25522 bumblebee.skynet.ie.";
|
2024-07-17 02:00:20 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "minecraft-aged.compsoc.games";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "bumblebee";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
record = "_minecraft._tcp.minecraft-aged.compsoc.games.skynet.ie.";
|
|
|
|
r_type = "SRV";
|
2024-07-19 23:51:24 +00:00
|
|
|
value = "0 10 25519 bumblebee.skynet.ie.";
|
2024-07-17 02:00:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
# non skynet domains
|
|
|
|
++ [
|
|
|
|
{
|
|
|
|
domain = "conradcollins.net";
|
|
|
|
record = "www";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "skynet.skynet.ie.";
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
domain = "edelharty.net";
|
|
|
|
record = "www";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "skynet.skynet.ie.";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
domain = "damienconroy.com";
|
|
|
|
record = "www";
|
|
|
|
r_type = "CNAME";
|
|
|
|
value = "skynet.skynet.ie.";
|
|
|
|
}
|
|
|
|
];
|
2024-01-27 18:53:49 +00:00
|
|
|
};
|
|
|
|
}
|