fix(kasen): networking config

This commit is contained in:
arcnmx 2024-05-10 16:24:44 -07:00
parent 06471a7b34
commit 6cfaf82535
6 changed files with 55 additions and 7 deletions

View file

@ -34,7 +34,7 @@ in {
inherit (proxmox.network) internal local;
conditions = coalesce [
(mapNullable (interface: [ "iifname ${interface.name}" ]) internal.interface)
(mapNullable (interface: config.networking.interfaces.local.nftables.conditions) local.interface)
(mapNullable (interface: config.networking.firewall.interfaces.local.nftables.conditions) local.interface)
];
in mkIf (conditions != null) {
nftables = {