LIRC
From NixOS Wiki
LIRC Service
As of right now, no lirc service is provided by NixOS, You can start the LIRC Daemon manually like this:
$ lircd --listen -n -P /var/run/lircd.pid -o /var/run/lirc.sock -d /dev/lirc0
You can build upon this to create your own service with sytemd.services
.