2024-02-29 19:30:32 +00:00
|
|
|
{
|
|
|
|
machines.warwick = {
|
|
|
|
arch = "aarch64-linux";
|
|
|
|
isRaspberryPi = true;
|
2024-03-03 11:54:35 +00:00
|
|
|
|
2024-03-05 19:56:00 +00:00
|
|
|
nixosModule = {
|
|
|
|
lab.monitoring.server.enable = true;
|
2024-05-15 18:59:21 +00:00
|
|
|
|
|
|
|
systemd.network = {
|
|
|
|
netdevs.hamgre = {
|
|
|
|
netdevConfig = {
|
|
|
|
Name = "hamgre";
|
|
|
|
Kind = "gre";
|
|
|
|
MTUBytes = "1468";
|
|
|
|
};
|
|
|
|
|
|
|
|
tunnelConfig = {
|
|
|
|
Remote = "145.220.78.4";
|
|
|
|
#Local = "192.145.57.90";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networks = {
|
|
|
|
"30-main-nic".networkConfig.Tunnel = "hamgre";
|
|
|
|
"40-hamgre" = {
|
|
|
|
matchConfig.Name = "hamgre";
|
|
|
|
|
|
|
|
networkConfig = {
|
|
|
|
Address = "44.137.61.34/30";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-03-05 19:56:00 +00:00
|
|
|
};
|
2024-02-29 19:30:32 +00:00
|
|
|
};
|
|
|
|
}
|