1
0
Fork 0

mediaserver: fix

This commit is contained in:
Daniel Kempkens 2023-04-14 17:24:46 +02:00
parent f9a13beb7f
commit e88f09b330
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ in
"10-lan" = { "10-lan" = {
matchConfig.Name = "ens3"; matchConfig.Name = "ens3";
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "ipv4";
IPv6AcceptRA = true; IPv6AcceptRA = true;
}; };
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";

View file

@ -28,7 +28,7 @@
networking.firewall.interfaces = networking.firewall.interfaces =
let let
interfaces = lib.mapAttrsToList (_: value: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null) config.systemd.network.networks ++ [ "tailscale0" ]; interfaces = lib.mapAttrsToList (_: value: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null value) config.systemd.network.networks ++ [ "tailscale0" ];
in in
builtins.listToAttrs builtins.listToAttrs
(builtins.map (builtins.map