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:
Eli Ribble 2024-08-16 16:30:53 -07:00
parent 73c9593bfe
commit 67cee9d1f3
1 changed files with 15 additions and 3 deletions

View File

@ -253,8 +253,8 @@
matchConfig.Name = "enp2s0";
networkConfig = {
Address = [
# Add IPv6 Unique Local Address so we can send pihole traffic to this server
"fc00:0000:000::5"
"fc00::/64"
"2600:8800:2740:16::1/64"
];
# start a DHCP Client for IPv4 Addressing/Routing
DHCP = "ipv4";
@ -263,6 +263,18 @@
};
# make routing on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable";
addresses = [{
addressConfig = {
Address = "::/0";
Scope = "global";
};
}
{
addressConfig = {
Address = "fc00::/64";
Scope = "local";
};
}];
};
systemd.services.scan-uploader = {