home-manager: split discord.nix out of default.nix

This commit is contained in:
2022-10-21 09:27:04 -07:00
parent e4c0a0d468
commit 419ababe6f
2 changed files with 11 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ in
{
imports = [
./aerc.nix
./discord.nix
./git.nix
./kitty.nix
./librewolf.nix
@@ -152,13 +153,6 @@ in
home.file."Videos/servo-incomplete".source = config.lib.file.mkOutOfStoreSymlink "/mnt/servo-media/incomplete";
home.file."Music/servo".source = config.lib.file.mkOutOfStoreSymlink "/mnt/servo-media/Music";
# make Discord usable even when client is "outdated"
xdg.configFile."discord/settings.json".text = ''
{
"SKIP_HOST_UPDATE": true
}
'';
xdg.configFile."gpodderFeeds.opml".text = with feeds;
feedsToOpml feeds.podcasts;

View File

@@ -0,0 +1,10 @@
{ ... }:
{
# 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
}
'';
}