depot/third_party/nixpkgs/nixos/modules/programs/flexoptix-app.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

18 lines
398 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.programs.flexoptix-app;
in {
options = {
programs.flexoptix-app = {
enable = lib.mkEnableOption "FLEXOPTIX app + udev rules";
package = lib.mkPackageOption pkgs "flexoptix-app" { };
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
services.udev.packages = [ cfg.package ];
};
}