98 lines
2.1 KiB
Nix
98 lines
2.1 KiB
Nix
{
|
|
locations = {
|
|
cloud = {
|
|
owner = "yaro";
|
|
subnets = {
|
|
dmz = {
|
|
systems = {
|
|
eris = {
|
|
primary = true;
|
|
macs = [ "00:11:22:33:44:55" ];
|
|
};
|
|
janus = {
|
|
primary = true;
|
|
macs = [ "66:77:88:99:AA:BB" ];
|
|
};
|
|
};
|
|
};
|
|
main = {
|
|
systems = {
|
|
metatron = {
|
|
primary = true;
|
|
macs = [ "DE:AD:BE:EF:00:01" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
norfolk = {
|
|
owner = "yaro";
|
|
subnets = {
|
|
dmz = {
|
|
systems = {
|
|
io = {
|
|
primary = true;
|
|
macs = [ "00:0C:29:3E:5B:6D" ];
|
|
};
|
|
deimos = {
|
|
primary = true;
|
|
macs = [ "12:34:56:78:9A:BC" ];
|
|
};
|
|
europa = {
|
|
macs = [ "52:54:00:12:34:56" ];
|
|
};
|
|
};
|
|
users = [ "bethybee" "lunalanu" "zebrallo" ];
|
|
};
|
|
main = {
|
|
systems = {
|
|
europa = {
|
|
primary = true;
|
|
macs = [ "08:00:27:4F:8C:9E" ];
|
|
};
|
|
phobos = {
|
|
primary = true;
|
|
macs = [ "AB:CD:EF:12:34:56" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
systems = {
|
|
eris = {
|
|
nixos = false;
|
|
role = "infrastructure";
|
|
owner = "yaro";
|
|
};
|
|
janus = {
|
|
nixos = true;
|
|
role = "infrastructure";
|
|
owner = "yaro";
|
|
tags = [ "router" "cloud" "public" ];
|
|
services = [ "headscale" ];
|
|
config = { ... }: { }; # Put a nixosConfiguration here if needed. Bear in mind a lot of what is already defined in this file will also be part of this config when evaluated.
|
|
};
|
|
metatron = { };
|
|
io = { };
|
|
europa = { };
|
|
deimos = { };
|
|
phobos = { };
|
|
};
|
|
|
|
users = {
|
|
yaro = { };
|
|
wdave = { };
|
|
julikkers = { };
|
|
bethybee = { };
|
|
lunalanu = { };
|
|
zebrallo = { };
|
|
};
|
|
|
|
groups = {
|
|
streamers = { };
|
|
gamers = { };
|
|
storage = { };
|
|
};
|
|
}
|