1{ lib, ... }:2with lib;3{4 options = with types; {5 tags = mkOption {6 type = listOf str;7 description = "Host tags";8 default = [ ];9 };10 network = mkOption {11 type = submodule {12 options = {13 internalIps = mkOption {14 type = listOf str;15 description = "Internal ips";16 default = [ ];17 };18 externalIps = mkOption {19 type = listOf str;20 description = "External ips";21 default = [ ];22 };23 };24 };25 description = "Network definition of host";26 };27 };28 config = {29 tags = [ "all" ];30 network = { };31 };32}