nixos/modules/desktop/chat/discord/default.nix
2024-08-11 16:51:25 +04:00

27 lines
444 B
Nix

{
outputs,
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.desktop.chat.discord;
hyprland = config.modules.desktop.hyprland;
in {
options.modules.desktop.chat.discord = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = [
(pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
})
pkgs.vesktop
];
};
}