# This is a data-only module for other modules consumption. { lib, ... }: let inherit (lib) mkOption types; in { options.bagel.infra.self = { wan = { family = mkOption { type = types.enum [ "inet" "inet6" ]; default = "inet6"; }; address = mkOption { type = types.str; }; prefixLength = mkOption { type = types.int; }; }; }; }