[no ci] fix: ssh comes at teh cost of the http access

This commit is contained in:
silver 2023-09-05 15:55:52 +01:00
parent c5c0df3f5e
commit 4938aee412

View file

@ -60,15 +60,26 @@ in {
networking = { networking = {
hostName = name; hostName = name;
# needed to use the dmz first # needed to use the dmz first
defaultGateway = lib.mkForce "193.1.96.161"; # defaultGateway = lib.mkForce "193.1.96.161";
interfaces = { interfaces = {
eth0.ipv4.addresses = [ eth0.ipv4 = {
addresses = [
{ {
address = ip_priv; address = ip_priv;
prefixLength = 26; prefixLength = 26;
} }
]; ];
# routes = [
# {
# address = "193.1.99.64";
# prefixLength = 26;
# via = "193.1.99.65";
# }
# ];
};
# primary ip for logging in # primary ip for logging in
eth1.ipv4.addresses = [ eth1.ipv4.addresses = [
{ {