sys-nix even stricter networking disable

nix-components
pegasust 2022-11-25 20:43:31 -07:00
parent b15dce795c
commit 6b832e1769
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ with lib;
# Don't touch networking.firewall.enable, just configure everything else.
# inherit networking;
networking = networking // {
firewall = {
firewall = (networking.firewall.enable and {
trustedInterfaces = networking.firewall.trustedInterfaces or [ ] ++ [
"tailscale0"
];
@ -105,7 +105,7 @@ with lib;
];
checkReversePath = "loose";
};
}) or {};
};
}