system-manager-wakasu
 1# Stub module for networking.firewall on system-manager
 2# Some nixpkgs modules try to configure firewall even when disabled
 3# This provides the minimal interface they expect
 4{ lib, ... }:
 5{
 6  options = {
 7    networking.firewall = {
 8      enable = lib.mkEnableOption "firewall" // {
 9        default = false;
10      };
11      allowedTCPPorts = lib.mkOption {
12        type = lib.types.listOf lib.types.port;
13        default = [ ];
14      };
15      allowedUDPPorts = lib.mkOption {
16        type = lib.types.listOf lib.types.port;
17        default = [ ];
18      };
19      trustedInterfaces = lib.mkOption {
20        type = lib.types.listOf lib.types.str;
21        default = [ ];
22      };
23    };
24  };
25
26  # No config needed - this is just a stub to prevent errors
27}