discord: remove the SKIP_HOST_UPDATE hack. it's been upstreamed

This commit is contained in:
colin 2022-12-26 03:30:25 +00:00
parent c4352fa9bb
commit dc6dc2e475
2 changed files with 0 additions and 16 deletions

View File

@ -19,7 +19,6 @@ in
{
imports = [
./aerc.nix
./discord.nix
./firefox.nix
./git.nix
./kitty.nix

View File

@ -1,15 +0,0 @@
{ config, lib, ... }:
# XXX: this doesn't work when discord files are persisted to ~/private
# TODO: is there some env var for this? or i could wrap the Discord binary to create this on launch
lib.mkIf false
# lib.mkIf config.sane.home-manager.enable
{
# TODO: this should only be enabled on gui devices
# make Discord usable even when client is "outdated"
home-manager.users.colin.xdg.configFile."discord/settings.json".text = ''
{
"SKIP_HOST_UPDATE": true
}
'';
}