mediaserver: fix
This commit is contained in:
parent
f9a13beb7f
commit
e88f09b330
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue