{...}: {
  environment.persistence."/srv".directories = [
    {
      directory = "/var/lib/minecraft";
      user = "minecraft";
      group = "minecraft";
      mode = "0700";
    }
  ];
}