Create file declaratively?

I want to create a named pipe file for sxhkd directly from home.nix or configuration.nix. Is it possible to run a script mkfifo sxhkd.fifo or create this file directly? I use nixos and flakes for configuration.

systemd.tmpfiles.rules and tmpfiles.d.