1 { config, lib, pkgs, ... }:
3 cfg = config.hardware.flirc;
6 options.hardware.flirc.enable = lib.mkEnableOption (lib.mdDoc "software to configure a Flirc USB device");
8 config = lib.mkIf cfg.enable {
9 environment.systemPackages = [ pkgs.flirc ];
10 services.udev.packages = [ pkgs.flirc ];