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

22 lines
536 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
themeMap = pkgs.callPackage (import ./themes.nix) { };
in
{
programs.discord = {
enable = true;
2023-05-24 03:17:09 +02:00
enableOpenASAR = false;
disableUpdateCheck = true;
2023-03-12 05:24:25 +01:00
enableDevtools = true;
};
2023-04-27 01:08:20 +02:00
home.packages = [ pkgs.discocss ];
xdg.configFile."discocss/custom.css".source =
themeMap.${config.lib.stylix.scheme.scheme} or themeMap.default;
2023-04-30 04:30:15 +02:00
satellite.persistence.at.state.apps.Discord.directories = [
"${config.xdg.configHome}/discord" # Why tf does discord store it's state here 💀
2023-04-27 01:08:20 +02:00
];
}