nixpkgs/nixos/modules/programs/projecteur.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
494 B
Nix
Raw Permalink Normal View History

2023-10-12 09:00:03 -06:00
{ config, lib, pkgs, ... }:
let
cfg = config.programs.projecteur;
in
{
options.programs.projecteur = {
enable = lib.mkEnableOption "projecteur, an application for the Logitech Spotlight device (and similar)";
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 ];
};
}