1 { config, lib, pkgs, ... }:
6 cfg = config.programs.streamdeck-ui;
8 options.programs.streamdeck-ui = {
9 enable = mkEnableOption (lib.mdDoc "streamdeck-ui");
11 autoStart = mkOption {
14 description = lib.mdDoc "Whether streamdeck-ui should be started automatically.";
18 config = mkIf cfg.enable {
19 environment.systemPackages = with pkgs; [
21 (mkIf cfg.autoStart (makeAutostartItem { name = "streamdeck-ui"; package = streamdeck-ui; }))
24 services.udev.packages = with pkgs; [ streamdeck-ui ];
27 meta.maintainers = with maintainers; [ majiir ];