blob: 94ec715b9fa51b2618c685b2f4346375239a2186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.flirc;
in
{
options.hardware.flirc.enable = lib.mkEnableOption "software to configure a Flirc USB device";
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.flirc ];
services.udev.packages = [ pkgs.flirc ];
};
}
|