> For the complete documentation index, see [llms.txt](https://docs.uniqpath.com/dmt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uniqpath.com/dmt/configuring-devices/device-definition-files.md).

# Device definition files

Location of device definition files is inside of each `~/.dmt/user/devices/[device_name]/def` directory.

{% hint style="info" %}
Device definition files are in the `def` subdirectory of each DMT DEVICE directory.
{% endhint %}

### .def format

They use a custom definition format for this project which is a very simplified YAML.

To be able to configure the basics of your device(s) you must know the basics of .def format which we will learn in a special section.

### Basic device definition files

### device.def

Most notably it contains **device name** (this is usually the same as directory name for device).

Example of minimal `device.def` file contents:

```
device: my_server
```

Before explaining what else can we define inside the `device.def` file we have to cover `.DEF format`. We do this in next group of pages. For now let's see other two important configuration files of each device.

### content.def

Defines lists of directories for between-device sharing.

### connect.def

Defines permanent connections between devices. For example **PC → PS**.

{% hint style="info" %}
You can create a permanent connection between your main PC and your **Personal Server**.
{% endhint %}

### Connection?

For now just think of it as something that is currently `connected` or `disconnected`.
