1 { config, pkgs, lib, ... }:
4 cfg = config.programs.flexoptix-app;
7 programs.flexoptix-app = {
8 enable = lib.mkEnableOption "FLEXOPTIX app + udev rules";
10 package = lib.mkPackageOption pkgs "flexoptix-app" { };
14 config = lib.mkIf cfg.enable {
15 environment.systemPackages = [ cfg.package ];
16 services.udev.packages = [ cfg.package ];