Quick checkpoint of work on networking.
It cost about 2 hours to figure this out from reading the networkd.nix definition. It doesn't actually do what I need it to do, however, because I misunderstood what I need. Still though, I want to save it since it was so hard-earned.
This commit is contained in:
parent
73c9593bfe
commit
67cee9d1f3
|
@ -253,8 +253,8 @@
|
||||||
matchConfig.Name = "enp2s0";
|
matchConfig.Name = "enp2s0";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = [
|
Address = [
|
||||||
# Add IPv6 Unique Local Address so we can send pihole traffic to this server
|
"fc00::/64"
|
||||||
"fc00:0000:000::5"
|
"2600:8800:2740:16::1/64"
|
||||||
];
|
];
|
||||||
# start a DHCP Client for IPv4 Addressing/Routing
|
# start a DHCP Client for IPv4 Addressing/Routing
|
||||||
DHCP = "ipv4";
|
DHCP = "ipv4";
|
||||||
|
@ -263,6 +263,18 @@
|
||||||
};
|
};
|
||||||
# make routing on this interface a dependency for network-online.target
|
# make routing on this interface a dependency for network-online.target
|
||||||
linkConfig.RequiredForOnline = "routable";
|
linkConfig.RequiredForOnline = "routable";
|
||||||
|
addresses = [{
|
||||||
|
addressConfig = {
|
||||||
|
Address = "::/0";
|
||||||
|
Scope = "global";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
addressConfig = {
|
||||||
|
Address = "fc00::/64";
|
||||||
|
Scope = "local";
|
||||||
|
};
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.scan-uploader = {
|
systemd.services.scan-uploader = {
|
||||||
|
|
Loading…
Reference in New Issue