Each device has its own definitions directory.
They are all inside the DMT USER directory, under ~/.dmt/user/devices
.
All device definitions are also replicated to all your devices.
Each device has a name and this is usually used as a subdirectory, like this:
mkdir ~/.dmt/user/devices/my_server
mkdir ~/.dmt/user/devices/[device_name]/def