1
Fork 0
satellite/home/features/desktop/discord/default.nix
2023-06-18 18:10:20 +02:00

22 lines
536 B
Nix

{ config, pkgs, ... }:
let
themeMap = pkgs.callPackage (import ./themes.nix) { };
in
{
programs.discord = {
enable = true;
enableOpenASAR = false;
disableUpdateCheck = true;
enableDevtools = true;
};
home.packages = [ pkgs.discocss ];
xdg.configFile."discocss/custom.css".source =
themeMap.${config.lib.stylix.scheme.scheme} or themeMap.default;
satellite.persistence.at.state.apps.Discord.directories = [
"${config.xdg.configHome}/discord" # Why tf does discord store it's state here 💀
];
}