mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat(nftables): update to new nftables firewall branch
This commit is contained in:
parent
051fdc24cb
commit
1f9a28c3db
11 changed files with 48 additions and 100 deletions
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
networking = {
|
||||
inherit (config.repo.secrets.local.networking) hostId;
|
||||
wireless.iwd.enable = true;
|
||||
|
@ -37,8 +33,6 @@
|
|||
};
|
||||
|
||||
networking.nftables.firewall = {
|
||||
zones = lib.mkForce {
|
||||
untrusted.interfaces = ["lan1" "wlan1"];
|
||||
};
|
||||
zones.untrusted.interfaces = ["lan1" "wlan1"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue