mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-29 23:55:38 +00:00
20 lines
509 B
Nix
20 lines
509 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
config = lib.mkIf config.gui.enable {
|
|
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
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|