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

24 lines
352 B
Nix
Raw Normal View History

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 {
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
];
};
}