Add discord module and disable update check

This commit is contained in:
fleaz 2022-06-15 21:35:24 +02:00
parent 158f5f1449
commit 2b3d628b8d
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 13 additions and 1 deletions

View file

@ -19,6 +19,7 @@ in
modules/git.nix modules/git.nix
modules/gpg.nix modules/gpg.nix
modules/udiskie.nix modules/udiskie.nix
modules/discord.nix
] ++ lib.optionals (config.networking.hostName == "jimbo") [ ] ++ lib.optionals (config.networking.hostName == "jimbo") [
modules/kanshi.nix modules/kanshi.nix
../secrets/codemonauts.nix ../secrets/codemonauts.nix
@ -51,7 +52,6 @@ in
firefox firefox
evince evince
chromium chromium
discord
via via
nextcloud-client nextcloud-client
deluge deluge

View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
home.packages = [pkgs.discord];
home.file.".config/discord/settings.json" = {
text = builtins.toJSON {
"BACKGROUND_COLOR" = "#202225";
"IS_MAXIMIZED" = true;
"IS_MINIMIZED" = false;
"SKIP_HOST_UPDATE" = true; # Disables the update check on startup
};
};
}