nixos/state.nix

114 lines
2.5 KiB
Nix

{
vpn = {
cerithium-telescopium = {
v4 = "100.102.99.37";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:6266:6325";
};
faunus-ater = {
v4 = "100.108.135.4";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:626c:8704";
};
granodomus-lima = {
v4 = "100.66.69.111";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:6242:456f";
};
helix-texta = {
v4 = "100.77.45.59";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:624d:2d3b";
};
murex-pecten = {
v4 = "100.120.38.101";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:6278:2665";
};
polymita-picta = {
v4 = "100.87.246.86";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:6257:f656";
};
radix-balthica = {
v4 = "100.109.212.72";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:626d:d448";
};
trochulus-hispidus = {
v4 = "100.124.110.43";
v6 = "fd7a:115c:a1e0:ab12:4843:cd96:627c:6e2b";
};
};
#### SERVICES ####
# Information about which services run where
# Type: attrsOf { host: str, port: number, external: bool }
services = {
calibre = {
host = "faunus-ater";
port = 12834;
external = true;
};
dns = {
host = "granodomus-lima";
port = 53;
external = true;
};
doc = {
host = "faunus-ater";
port = 28981;
external = true;
};
eat = {
host = "faunus-ater";
port = 9000;
external = true;
};
foto = {
host = "faunus-ater";
port = 2343;
external = true;
};
git = {
host = "faunus-ater";
port = 10219;
external = true;
};
music = {
host = "faunus-ater";
port = 4533;
external = true;
};
read = {
host = "faunus-ater";
port = 10224;
external = true;
};
s3 = {
host = "faunus-ater";
port = 8333;
external = false;
};
sea = {
host = "faunus-ater";
port = 9333;
external = false;
};
};
#### CNAMES ####
# CNAMES inside my vpn, service-entries don't have to be repeated here
cnames = {
bazarr = "faunus-ater";
cache = "faunus-ater";
cal = "granodomus-lima";
config = "faunus-ater";
downloadarr = "faunus-ater";
file = "faunus-ater";
hydra = "faunus-ater";
listen = "faunus-ater";
mc = "granodomus-lima";
media = "faunus-ater";
note = "faunus-ater";
prowlarr = "faunus-ater";
radarr = "faunus-ater";
sheet = "faunus-ater";
sonarr = "faunus-ater";
stats = "faunus-ater";
time = "faunus-ater";
todo = "faunus-ater";
};
}