{ config, lib, namespace, ... }: let cfg = config.${namespace}.programs.vesktop; in { options.${namespace}.programs.vesktop = { enable = lib.mkEnableOption "vesktop"; }; config = lib.mkIf cfg.enable { programs.vesktop = { enable = true; settings = { appBadge = false; arRPC = true; checkUpdates = false; customTitleBar = false; disableMinSize = true; minimizeToTray = true; tray = true; splashBackground = "#000000"; splashColor = "#ffffff"; splashTheming = true; staticTitle = true; hardwareAcceleration = true; discordBranch = "stable"; }; vencord = { settings = { autoUpdate = false; autoUpdateNotification = false; notifyAboutUpdates = false; useQuickCss = true; disableMinSize = true; plugins = { MessageLogger = { enabled = false; ignoreSelf = true; }; FakeNitro.enabled = false; }; }; }; }; }; }