sys-nix even stricter networking disable
parent
b15dce795c
commit
6b832e1769
|
@ -90,7 +90,7 @@ with lib;
|
||||||
# Don't touch networking.firewall.enable, just configure everything else.
|
# Don't touch networking.firewall.enable, just configure everything else.
|
||||||
# inherit networking;
|
# inherit networking;
|
||||||
networking = networking // {
|
networking = networking // {
|
||||||
firewall = {
|
firewall = (networking.firewall.enable and {
|
||||||
trustedInterfaces = networking.firewall.trustedInterfaces or [ ] ++ [
|
trustedInterfaces = networking.firewall.trustedInterfaces or [ ] ++ [
|
||||||
"tailscale0"
|
"tailscale0"
|
||||||
];
|
];
|
||||||
|
@ -105,7 +105,7 @@ with lib;
|
||||||
|
|
||||||
];
|
];
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
};
|
}) or {};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue