Add discord module and disable update check
This commit is contained in:
parent
158f5f1449
commit
2b3d628b8d
|
@ -19,6 +19,7 @@ in
|
|||
modules/git.nix
|
||||
modules/gpg.nix
|
||||
modules/udiskie.nix
|
||||
modules/discord.nix
|
||||
] ++ lib.optionals (config.networking.hostName == "jimbo") [
|
||||
modules/kanshi.nix
|
||||
../secrets/codemonauts.nix
|
||||
|
@ -51,7 +52,6 @@ in
|
|||
firefox
|
||||
evince
|
||||
chromium
|
||||
discord
|
||||
via
|
||||
nextcloud-client
|
||||
deluge
|
||||
|
|
12
home-manager/modules/discord.nix
Normal file
12
home-manager/modules/discord.nix
Normal 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
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue