2023-10-12 09:00:03 -06:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.projecteur;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.programs.projecteur = {
|
2023-10-18 06:08:30 -06:00
|
|
|
enable = lib.mkEnableOption "projecteur, an application for the Logitech Spotlight device (and similar)";
|
2023-11-30 11:03:14 -07:00
|
|
|
package = lib.mkPackageOption pkgs "projecteur" { };
|
2023-10-12 09:00:03 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = [ cfg.package ];
|
|
|
|
services.udev.packages = [ cfg.package ];
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with lib.maintainers; [ benneti drupol ];
|
|
|
|
};
|
|
|
|
}
|