{ lib, ... }: with lib; { options = { custom.machine = mkOption { type = types.submodule { options = { type = mkOption { type = types.enum [ "server" "pc" ]; }; capabilities = mkOption { type = types.listOf (types.enum (import ./capabilities.nix)); default = [ "cli" ]; }; }; }; }; }; }