nixpkgs/nixos/modules/programs/bazecor.nix
2024-12-06 23:41:41 +01:00

26 lines
472 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.programs.bazecor;
in
{
meta.maintainers = with lib.maintainers; [ amesgen ];
options = {
programs.bazecor = {
enable = lib.mkEnableOption "Bazecor, the graphical configurator for Dygma Products";
package = lib.mkPackageOption pkgs "bazecor" { };
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
services.udev.packages = [ cfg.package ];
};
}