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