{ lib, ... }: { options.hrm.network.interfaces = lib.mkOption { default = {}; description = '' What hrm knows about network interfaces, by the names networking.interfaces uses. ''; type = lib.types.attrsOf (lib.types.submodule { options.medium = lib.mkOption { type = lib.types.nullOr (lib.types.enum [ "ethernet" "wlan" "wwan" ]); default = null; description = '' What the interface connects through. ''; }; }); }; }