This commit is contained in:
암냥 2026-08-16 20:03:47 +09:00
commit ab3a5296a0
No known key found for this signature in database
13 changed files with 199 additions and 50 deletions

View file

@ -1,18 +1,21 @@
{
pkgs,
inputs,
lib,
options,
...
}:
{
imports = [ inputs.nixcord.homeModules.nixcord ];
# imports = [ inputs.nixcord.nixosModules.nixcord ];
programs.nixcord = {
enable = true;
discord = {
branch = "stable";
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;
@ -25,10 +28,4 @@
home.packages = with pkgs; [
discord-gamesdk
];
# home.activation.krispPatch = lib.mkIf (!pkgs.stdenv.isDarwin) (
# lib.hm.dag.entryAfter [ "writeBoundary" ] ''
# ${krisp-patcher}/bin/krisp-patcher $(${pkgs.findutils}/bin/find $HOME/.config/discord/ -name "discord_krisp.node" -path "*/modules/discord_krisp/*") || true
# ''
# );
}