nixos/modules/desktop/chat/discord/default.nix

24 lines
350 B
Nix
Raw Normal View History

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;
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;
})
2023-10-08 14:32:12 +04:00
];
};
}