nix-flakes/modules/home/discord/linux.nix
2026-08-16 20:03:47 +09:00

31 lines
664 B
Nix

{
pkgs,
inputs,
...
}:
{
imports = [ inputs.nixcord.homeModules.nixcord ];
programs.nixcord = {
enable = true;
discord = {
branches = [ "stable" ];
# Electron's Vulkan backend crashes on the NVIDIA render node under
# native Wayland. Keep Wayland and hardware acceleration, but use GL.
commandLineArgs = [
"--use-gl=angle"
"--use-angle=gl"
];
vencord.enable = false;
equicord.enable = true;
krisp.enable = true;
};
vesktop.enable = true;
# equibop.enable = true;
config.plugins = import ./plugin.nix;
};
home.packages = with pkgs; [
discord-gamesdk
];
}