2023-10-08 14:32:12 +04:00
|
|
|
{
|
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-08-01 16:24:09 +04:00
|
|
|
let
|
2023-10-08 14:32:12 +04:00
|
|
|
cfg = config.modules.desktop.chat.discord;
|
2024-08-05 19:13:58 +04:00
|
|
|
hyprland = config.modules.desktop.hyprland;
|
2023-10-08 14:32:12 +04:00
|
|
|
in {
|
|
|
|
options.modules.desktop.chat.discord = {
|
2024-08-01 16:24:09 +04:00
|
|
|
enable = lib.mkEnableOption false;
|
2023-10-08 14:32:12 +04:00
|
|
|
};
|
|
|
|
|
2024-08-01 16:24:09 +04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-07-18 18:14:16 +04:00
|
|
|
users.users.sako.packages = [
|
|
|
|
(pkgs.discord.override {
|
|
|
|
withOpenASAR = true;
|
2024-08-11 16:51:25 +04:00
|
|
|
withVencord = true;
|
2024-07-18 18:14:16 +04:00
|
|
|
})
|
2024-08-05 19:13:58 +04:00
|
|
|
pkgs.vesktop
|
2023-10-08 14:32:12 +04:00
|
|
|
];
|
2024-08-05 19:13:58 +04:00
|
|
|
|
2023-10-08 14:32:12 +04:00
|
|
|
};
|
|
|
|
}
|