1
Fork 0
satellite/home/features/desktop/discord/default.nix

23 lines
568 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.${config.stylix.polarity};
satellite.persistence.at.state.apps.Discord.directories = [
"${config.xdg.configHome}/discord" # Why tf does discord store it's state here 💀
];
}