ovh: Remove internal network
All checks were successful
Cachix / build (elendel) (push) Successful in 1m46s
Cachix / build (kholinar) (push) Successful in 2m7s
Cachix / build (marabethia) (push) Successful in 1m47s

This commit is contained in:
Charlotte Van Petegem 2025-01-02 17:02:57 +01:00
parent 371aeb8dca
commit 44b07ee028
2 changed files with 0 additions and 17 deletions

View file

@ -22,8 +22,6 @@
ip = "2001:41d0:203:cdee::"; ip = "2001:41d0:203:cdee::";
gateway = "2001:41d0:0203:cdff:00ff:00ff:00ff:00ff"; gateway = "2001:41d0:0203:cdff:00ff:00ff:00ff:00ff";
}; };
internalInterface = "eno2";
internalIPV4 = "192.168.0.3";
}; };
wireguard.server = true; wireguard.server = true;
}; };

View file

@ -22,13 +22,6 @@
gateway = "1:2:3:ff:ff:ff:ff:ff"; gateway = "1:2:3:ff:ff:ff:ff:ff";
}; };
}; };
internalInterface = lib.mkOption {
default = "eno4";
example = "eno2";
};
internalIPV4 = lib.mkOption {
example = "192.168.0.1";
};
}; };
config = lib.mkIf config.chvp.base.network.ovh.enable { config = lib.mkIf config.chvp.base.network.ovh.enable {
@ -57,14 +50,6 @@
"2606:4700:4700::1001" "2606:4700:4700::1001"
]; ];
}; };
"${internalInterface}" = {
enable = true;
matchConfig = { Name = "${internalInterface}"; };
address = [ "${internalIPV4}/16" ];
routes = [
{ Destination = "${internalIPV4}/16"; }
];
};
}; };
}; };
}; };