mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-15 06:19:00 +00:00
hosts/plover: update network state
This is pretty much needed from the networking setup.
This commit is contained in:
parent
12062167c9
commit
67bcd06f92
@ -38,14 +38,24 @@
|
|||||||
# We're using our own VPN configuration for this one.
|
# We're using our own VPN configuration for this one.
|
||||||
suites.vpn.enable = true;
|
suites.vpn.enable = true;
|
||||||
|
|
||||||
state.network = {
|
state.network = rec {
|
||||||
ipv4 = lib.mkDefault "65.109.224.213";
|
ipv4 = "135.181.26.192";
|
||||||
ipv6 = lib.mkDefault "2a01:4f9:c012:607a::1";
|
ipv6 = "2a01:4f9:c011:b61e::1";
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
lan = {
|
lan = {
|
||||||
|
ifname = "enp7s0";
|
||||||
ipv4 = "10.0.0.2";
|
ipv4 = "10.0.0.2";
|
||||||
ipv6 = "";
|
ipv6 = "fe80::8400:ff:fef7:864";
|
||||||
|
ipv4Gateway = "10.0.0.1";
|
||||||
|
ipv6Gateway = "fe80::1";
|
||||||
|
};
|
||||||
|
|
||||||
|
wan = {
|
||||||
|
ifname = "eth0";
|
||||||
|
inherit ipv4 ipv6;
|
||||||
|
ipv4Gateway = "172.31.1.1";
|
||||||
|
ipv6Gateway = "fe80::1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user