sail: Re-introduce static internal network interface
This commit is contained in:
parent
a622fbb728
commit
06f36bd60d
1 changed files with 10 additions and 1 deletions
|
@ -80,11 +80,20 @@ in
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
enp1s0.ipv6.addresses = secret.networking.interfaces.enp1s0.ipv6.addresses;
|
enp1s0.ipv6.addresses = secret.networking.interfaces.enp1s0.ipv6.addresses;
|
||||||
|
|
||||||
|
enp7s0.ipv4 = {
|
||||||
|
addresses = [{ address = "10.99.99.2"; prefixLength = 32; }];
|
||||||
|
|
||||||
|
routes = [
|
||||||
|
{ address = "10.99.99.0"; prefixLength = 24; via = "10.99.99.1"; }
|
||||||
|
{ address = "10.99.99.1"; prefixLength = 32; }
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultGateway6 = { address = "fe80::1"; interface = "enp1s0"; };
|
defaultGateway6 = { address = "fe80::1"; interface = "enp1s0"; };
|
||||||
|
|
||||||
dhcpcd.denyInterfaces = [ "veth*" ];
|
dhcpcd.denyInterfaces = [ "enp7s0" "veth*" ];
|
||||||
|
|
||||||
timeServers = [
|
timeServers = [
|
||||||
"ntp1.hetzner.de"
|
"ntp1.hetzner.de"
|
||||||
|
|
Loading…
Reference in a new issue