nix: get nftables from correct parent attr

This commit is contained in:
raf 2025-05-01 06:07:09 +03:00
commit c7cbbd3908
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -216,7 +216,7 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.nftables = { networking.nftables = {
enable = mkIf cfg.nftablesIntegration cfg.nftablesIntegration; enable = mkIf cfg.nftablesIntegration cfg.nftablesIntegration;
ruleset = mkIf cfg.nftablesIntegration '' ruleset = mkIf cfg.nftablesIntegration ''
table inet filter { table inet filter {