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
|
|
|
|
2024-05-15 20:05:28 +00:00
|
|
|
services.bird2 = {
|
2024-05-15 20:08:40 +00:00
|
|
|
enable = false;
|
2024-05-15 20:05:28 +00:00
|
|
|
config = builtins.readFile ./bird.conf;
|
|
|
|
};
|
|
|
|
|
2024-05-18 21:32:58 +00:00
|
|
|
#systemd.network = {
|
|
|
|
# netdevs = {
|
|
|
|
# hamgre = {
|
|
|
|
# netdevConfig = {
|
|
|
|
# Name = "hamgre";
|
|
|
|
# Kind = "gre";
|
|
|
|
# MTUBytes = "1468";
|
|
|
|
# };
|
|
|
|
|
|
|
|
# tunnelConfig = {
|
|
|
|
# Remote = "145.220.78.4";
|
|
|
|
# #Local = "192.145.57.90";
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
|
|
|
|
# # hambr = {
|
|
|
|
# # netdevConfig = {
|
|
|
|
# # Name = "hambr";
|
|
|
|
# # Kind = "bridge";
|
|
|
|
# # };
|
|
|
|
# # };
|
|
|
|
# };
|
|
|
|
|
|
|
|
# networks = {
|
|
|
|
# "30-main-nic".networkConfig.Tunnel = "hamgre";
|
|
|
|
|
|
|
|
# "40-hamgre" = {
|
|
|
|
# matchConfig.Name = "hamgre";
|
|
|
|
|
|
|
|
# networkConfig = {
|
|
|
|
# Address = "44.137.61.34/30";
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
|
|
|
|
# # "40-hambr" = {
|
|
|
|
# # matchConfig.Name = "hambr";
|
|
|
|
|
|
|
|
# # };
|
|
|
|
# };
|
|
|
|
#};
|
2024-03-05 19:56:00 +00:00
|
|
|
};
|
2024-02-29 19:30:32 +00:00
|
|
|
};
|
|
|
|
}
|