created network file
This commit is contained in:
parent
902a25fb0c
commit
363e1efe85
40
hosts/giupi/network.nix
Normal file
40
hosts/giupi/network.nix
Normal file
@ -0,0 +1,40 @@
|
||||
rec {
|
||||
# interfaces
|
||||
wan_if = "enp5s0";
|
||||
wg_if = "wg0";
|
||||
|
||||
# nets
|
||||
lan_net = "10.0.0.0/24";
|
||||
wg_net = "10.3.0.0/24";
|
||||
external_lan_net = "192.168.1.0/24";
|
||||
|
||||
# ips
|
||||
giupi_lan_ip = "10.0.0.8";
|
||||
dvr_ip = "10.0.0.2";
|
||||
nas_ip = "10.0.0.3";
|
||||
|
||||
giupi_wg_ip = "10.3.0.1";
|
||||
galuminum-wg = "10.3.0.2";
|
||||
oneplus-wg = "10.3.0.3";
|
||||
ipad-wg = "10.3.0.4";
|
||||
manduria-wg = "10.3.0.5";
|
||||
antonio-wg = "10.3.0.6";
|
||||
gbeast-wg = "10.3.0.7";
|
||||
parisaphone-wg = "10.3.0.8";
|
||||
parisapc-wg = "10.3.0.9";
|
||||
peppiniell-wg = "10.3.0.10";
|
||||
padulino-wg = "10.3.0.11";
|
||||
shield-wg = "10.3.0.12";
|
||||
angelino-wg = "10.3.0.13";
|
||||
pepos_one-wg = "10.3.0.14";
|
||||
pepos_two-wg = "10.3.0.15";
|
||||
eleonora-wg = "10.3.0.100";
|
||||
broccolino-wg = "10.3.0.200";
|
||||
hotpottino-wg = "10.3.0.201";
|
||||
|
||||
# groups
|
||||
gdevices-wg = [ galuminum-wg oneplus-wg ipad-wg gbeast-wg peppiniell-wg padulino-wg angelino-wg ];
|
||||
routers-wg = [ hotpottino-wg broccolino-wg ];
|
||||
c2c-wg = [ ] ++ gdevices-wg;
|
||||
towan-wg = [ shield-wg parisaphone-wg parisapc-wg ] ++ gdevices-wg ++ routers-wg;
|
||||
}
|
Loading…
Reference in New Issue
Block a user