How to declaratively mount a shared filesystem?

Hi - I am configuring my VM with a shared drive. dmesg shows the following:

# dmesg
...
[    1.800048] virtiofs virtio4: discovered new tag: shared

I can issue this command to mount it to filesystem at /mnt/shared

mount -t virtiofs shared /mnt/shared

Is there an option to declaratively define this?

Found solution:

{
  ...
}:
{
  fileSystems = {
    "/mnt/shared" = {
      fsType = "virtiofs";
      device = "shared";
      mountPoint = "/mnt/shared";
    };
  };
}