31 lines
664 B
Nix
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
|
|
];
|
|
}
|