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