1 { config, lib, pkgs, ... }:
4 cfg = config.programs.projecteur;
7 options.programs.projecteur = {
8 enable = lib.mkEnableOption "projecteur, an application for the Logitech Spotlight device (and similar)";
9 package = lib.mkPackageOption pkgs "projecteur" { };
12 config = lib.mkIf cfg.enable {
13 environment.systemPackages = [ cfg.package ];
14 services.udev.packages = [ cfg.package ];
18 maintainers = with lib.maintainers; [ benneti drupol ];