8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
591 B
Nix
21 lines
591 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
options.programs.clickshare-csc1.enable =
|
|
lib.options.mkEnableOption ''
|
|
Barco ClickShare CSC-1 driver/client.
|
|
This allows users in the <literal>clickshare</literal>
|
|
group to access and use a ClickShare USB dongle
|
|
that is connected to the machine
|
|
'';
|
|
|
|
config = lib.modules.mkIf config.programs.clickshare-csc1.enable {
|
|
environment.systemPackages = [ pkgs.clickshare-csc1 ];
|
|
services.udev.packages = [ pkgs.clickshare-csc1 ];
|
|
users.groups.clickshare = {};
|
|
};
|
|
|
|
meta.maintainers = [ lib.maintainers.yarny ];
|
|
|
|
}
|