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

26 lines
446 B
Nix
Raw Normal View History

2023-10-08 14:32:12 +04:00
{
2024-07-05 10:10:40 +04:00
inputs,
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-05 10:10:40 +04:00
users.users.sako.packages = [
(inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.discord-canary.override {
withOpenASAR = true;
withVencord = true;
})
2023-10-08 14:32:12 +04:00
];
};
}