2023-10-19 13:55:26 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.projecteur;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.programs.projecteur = {
|
2024-04-21 15:54:59 +00:00
|
|
|
enable = lib.mkEnableOption "projecteur, an application for the Logitech Spotlight device (and similar)";
|
2024-01-02 11:29:13 +00:00
|
|
|
package = lib.mkPackageOption pkgs "projecteur" { };
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = [ cfg.package ];
|
|
|
|
services.udev.packages = [ cfg.package ];
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with lib.maintainers; [ benneti drupol ];
|
|
|
|
};
|
|
|
|
}
|