diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/mun/programs/nixcord.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/home/mun/programs/nixcord.nix b/home/mun/programs/nixcord.nix index 802ccc3..d39f6e3 100644 --- a/home/mun/programs/nixcord.nix +++ b/home/mun/programs/nixcord.nix @@ -11,4 +11,34 @@ 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 + }; + }; + }; } |
