2023-10-08 14:32:12 +04:00
|
|
|
{
|
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.modules.desktop.chat.discord;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.chat.discord = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
users.users.sako.packages = with pkgs; [
|
2024-07-05 09:58:08 +04:00
|
|
|
(pkgs.unstable.discord.override {
|
2024-07-05 09:39:20 +04:00
|
|
|
withOpenASAR = true;
|
|
|
|
withVencord = true;})
|
2023-10-08 14:32:12 +04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|