entities/zones/sea.fudo.org.nix

256 lines
6.0 KiB
Nix

let local-domain = "sea.fudo.org";
in {
aliases = {
chat = "limina";
deploy = "socrates";
#dns-hole = "limina";
#gateway = "limina";
factorio = "toothless";
#hole = "limina";
home = "lambda";
home-assist = "wormhole0";
ipfs = "nostromo";
# kadmin = "nostromo";
# kdc = "nostromo";
minecraft = "nostromo";
survival = "toothless";
creative = "nostromo";
music = "doraemon";
node-red = "wormhole0";
#panopticon = "lambda";
#panopticon-od = "lambda";
photo = "doraemon";
#pihole = "limina";
sea-store = "nostromo";
# mqtt = "wormhole0";
tesla-mate = "wormhole0";
tesla-graph = "wormhole0";
};
srv-records = {
tcp = {
ssh = [{
port = 22;
host = "limina.sea.fudo.org";
}];
};
};
hosts = {
limina = {
ipv4-address = "10.0.0.1";
mac-address = "02:fd:79:94:a2:a8";
};
fimbria = { ipv4-address = "10.0.0.2"; };
switch-master = {
ipv4-address = "10.0.0.5";
mac-address = "00:14:1C:B6:BB:40";
};
google-wifi = {
ipv4-address = "10.0.0.7";
mac-address = "7C:D9:5C:9F:6F:E9";
};
cam-switch = {
ipv4-address = "10.0.0.8";
mac-address = "94:18:65:7F:9E:18";
};
nostromo = {
ipv4-address = "10.0.0.10";
mac-address = "02:14:25:55:ee:5a";
};
lambda = {
ipv4-address = "10.0.0.11";
mac-address = "02:f5:fe:8c:22:fe";
};
toothless = {
ipv4-address = "10.0.0.12";
mac-address = "02:ee:76:17:99:ed";
};
socrates = {
ipv4-address = "10.0.0.20";
mac-address = "02:f2:30:b8:71:42";
};
plato.ipv4-address = "10.0.0.21";
seneca.ipv4-address = "10.0.0.22";
wormhole0.ipv4-address = "10.0.0.3";
cam-entrance = {
ipv4-address = "10.0.0.31";
mac-address = "9C:8E:CD:3B:A0:F1";
};
cam-driveway = {
ipv4-address = "10.0.0.32";
mac-address = "9C:8E:CD:3B:A1:70";
};
cam-steps = {
ipv4-address = "10.0.0.33";
mac-address = "9C:8E:CD:3B:A0:70";
};
cam-patio = {
ipv4-address = "10.0.0.34";
mac-address = "9C:8E:CD:31:2B:4E";
};
cam-mobile = {
ipv4-address = "10.0.0.35";
mac-address = "08:ea:40:59:5f:9e";
};
cargo = {
ipv4-address = "10.0.0.50";
mac-address = "00:11:32:75:d8:b7";
};
whitedwarf = {
ipv4-address = "10.0.0.51";
mac-address = "00:11:32:12:14:1d";
};
doraemon = {
ipv4-address = "10.0.0.52";
mac-address = "00:11:32:0a:06:c5";
};
android = {
ipv4-address = "10.0.0.81";
mac-address = "00:16:3e:43:39:fc";
};
retro-wired = {
ipv4-address = "10.0.0.82";
mac-address = "dc:a6:32:6b:57:43";
};
retro = {
ipv4-address = "10.0.0.83";
mac-address = "dc:a6:32:6b:57:45";
};
monolith = {
ipv4-address = "10.0.0.100";
mac-address = "6c:62:6d:c8:b0:d8";
};
taipan = {
ipv4-address = "10.0.0.107";
mac-address = "52:54:00:34:c4:78";
};
spark = {
ipv4-address = "10.0.0.108";
mac-address = "02:47:A7:B2:B4:8D";
};
hyperion = {
ipv4-address = "10.0.0.109";
mac-address = "52:54:00:33:46:de";
};
zbox = {
ipv4-address = "10.0.0.110";
mac-address = "02:DD:80:52:83:9B";
};
system3 = {
ipv4-address = "10.0.0.111";
mac-address = "02:0d:df:2d:46:90";
};
jazz = {
ipv4-address = "10.0.0.112";
mac-address = "02:57:9a:a4:10:d3";
};
ubiquiti-wifi = {
ipv4-address = "10.0.0.126";
mac-address = "04:18:d6:20:48:fb";
};
dev-wifi = {
ipv4-address = "10.0.0.127";
mac-address = "C0:06:C3:AA:4D:40";
};
generator-wireless = {
ipv4-address = "10.0.0.130";
mac-address = "B8:27:EB:A6:32:26";
};
brother-wireless = {
ipv4-address = "10.0.0.160";
mac-address = "c0:38:96:64:49:65";
};
brother-wired = {
ipv4-address = "10.0.0.161";
mac-address = "30:05:5c:6e:54:b9";
};
nest = {
ipv4-address = "10.0.0.176";
mac-address = "18:b4:30:16:7c:5a";
};
xixi-phone = {
ipv4-address = "10.0.0.193";
mac-address = "48:43:7c:75:89:42";
};
ipad = {
ipv4-address = "10.0.0.202";
mac-address = "9c:35:eb:48:6e:71";
};
cam-front = {
ipv4-address = "10.0.0.203";
mac-address = "c4:d6:55:3e:b4:c3";
};
family-room-tv = {
ipv4-address = "10.0.0.210";
mac-address = "84:a4:66:b2:ee:96";
};
playstation-4 = {
ipv4-address = "10.0.0.211";
mac-address = "0c:fe:45:65:f8:1f";
};
chromecast-2 = {
ipv4-address = "10.0.0.215";
mac-address = "a4:77:33:59:a2:ba";
};
front-light = {
ipv4-address = "10.0.0.221";
mac-address = "94:10:3e:48:94:ed";
};
pselby-work.ipv4-address = "10.0.0.151";
atom.ipv4-address = "10.0.0.152";
# Ceph network
srv-1 = {
ipv4-address = "10.0.10.1";
mac-address = "02:65:d7:00:7d:1b";
};
node-1 = {
ipv4-address = "10.0.10.101";
mac-address = "00:1e:06:36:81:cf";
};
node-2 = {
ipv4-address = "10.0.10.102";
mac-address = "00:1e:06:36:ec:3e";
};
node-3 = {
ipv4-address = "10.0.10.103";
mac-address = "00:1e:06:36:ec:4b";
};
node-4 = {
ipv4-address = "10.0.10.104";
mac-address = "00:1e:06:36:dd:8c";
};
};
subdomains."goog" = let
mkWifiHosts = builtins.mapAttrs
(_: num: { ipv4-address = "192.168.86.${toString num}"; });
in {
hosts = mkWifiHosts {
wormhole0 = 2;
nomad = 5;
bedroom-home = 30;
living-room-home = 31;
family-room-home = 32;
kitchen-display = 33;
office-home = 35;
xiaoxuan-ipad-2 = 42;
peter-pixel-5 = 43;
xiaoxuan-ipad-1 = 44;
xiaoxuan-iphone = 45;
may-phone = 46;
switch = 51;
jayjay = 52;
nest-thermostat = 53;
living-room-tv = 54;
tesla-model-3 = 55;
family-room-tv = 57;
};
};
}