nixos/modules/desktop/chat/discord/default.nix
2024-07-27 00:52:38 +04:00

24 lines
352 B
Nix

{
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 = [
(pkgs.discord.override {
withOpenASAR = true;
})
];
};
}