{inputs, ...}: { imports = [ inputs.nixcord.homeModules.nixcord ]; programs.nixcord = { enable = true; discord = { vencord.enable = false; equicord.enable = true; }; }; home.file.".config/discord/settings.json" = { force = true; text = builtins.toJSON { SKIP_HOST_UPDATE = true; BACKGROUND_COLOR = "#000000"; offloadAdmControls = true; enableHardwareAcceleration = true; chromiumSwitches = {}; IS_MAXIMIZED = false; IS_MINIMIZED = false; WINDOW_BOUNDS = { x = 0; y = 0; width = 1708; height = 879; }; asyncVideoInputDeviceInit = false; MINIMIZE_TO_TRAY = false; enableLibOpenH264Electron = false; DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING = true; openH264Enabled = true; openasar = { setup = true; cmdPreset = "battery"; quickstart = true; skipModuleUpdate = true; # <-- the fix }; }; }; }