LIRC

From NixOS Wiki

LIRC allows to receive and send infrared signals. The lirc package is part of nixpkgs. It can be configured via options.