26 lines
443 B
Nix
26 lines
443 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.architect.firewall = {
|
|
openTCP = mkOption {
|
|
type = types.listOf types.int;
|
|
default = [ ];
|
|
};
|
|
openUDP = mkOption {
|
|
type = types.listOf types.int;
|
|
default = [ ];
|
|
};
|
|
openTCPVPN = mkOption {
|
|
type = types.listOf types.int;
|
|
default = [ ];
|
|
};
|
|
openUDPVPN = mkOption {
|
|
type = types.listOf types.int;
|
|
default = [ ];
|
|
};
|
|
};
|
|
|
|
}
|