From 404426c480e88abedec9e333443ae932cb14d185 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:29:49 -0400 Subject: [PATCH] prevent discord auto-update --- modules/applications/discord.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/applications/discord.nix b/modules/applications/discord.nix index 6a3fcb3..91d7783 100644 --- a/modules/applications/discord.nix +++ b/modules/applications/discord.nix @@ -4,6 +4,16 @@ unfreePackages = [ "discord" ]; home-manager.users.${config.user} = { home.packages = with pkgs; [ discord ]; + xdg.configFile."discord/settings.json".text = '' + { + "BACKGROUND_COLOR": "#202225", + "IS_MAXIMIZED": false, + "IS_MINIMIZED": false, + "OPEN_ON_STARTUP": false, + "MINIMIZE_TO_TRAY": false, + "SKIP_HOST_UPDATE": true + } + ''; }; }; }