Initial commit
Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled

This commit is contained in:
암냥 2026-07-03 16:53:49 +09:00
commit 70284509f3
No known key found for this signature in database
144 changed files with 7061 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{
pkgs,
inputs,
lib,
options,
...
}:
{
imports = [ inputs.nixcord.homeModules.nixcord ];
# imports = [ inputs.nixcord.nixosModules.nixcord ];
programs.nixcord = {
enable = true;
discord = {
branch = "canary";
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
];
# 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
# ''
# );
}

View file

@ -0,0 +1,23 @@
# darwin-configuration.nix
{ inputs, pkgs, ... }:
{
imports = [ inputs.nixcord.darwinModules.nixcord ];
programs.nixcord = {
enable = true;
user = "imnyang"; # Needed for system-level config
discord = {
package = pkgs.discord-canary;
vencord.enable = false;
equicord.enable = true;
# krisp.enable = true;
};
equibop.enable = true;
config.plugins = import ./plugin.nix;
};
environment.systemPackages = [ pkgs.discord-gamesdk ];
}

View file

@ -0,0 +1,69 @@
{
alwaysAnimate.enable = true;
alwaysExpandRoles.enable = true;
blurNsfw.enable = true;
callTimer = {
enable = true;
format = "human";
};
crashHandler.enable = true;
disableCallIdle.enable = true;
dontRoundMyTimestamps.enable = true;
fixCodeblockGap.enable = true;
fixImagesQuality.enable = true;
fixYoutubeEmbeds.enable = true;
forceOwnerCrown.enable = true;
messageLogger = {
enable = true;
};
clientSideBlock = {
enable = true;
hideBlockedUsers = true;
hideBlockedMessages = true;
hideEmptyRoles = false;
hideVc = true;
blockedReplyDisplay = "hideReply";
};
serverListIndicators.enable = true;
showTimeoutDuration.enable = true;
# silentTyping.enable = true;
textReplace.enable = true;
textReplace.regexRules = [
{
find = "https?:\\/\\/(www\\.)?instagram\\.com\\/[^\\/]+\\/(p|reel)\\/([A-Za-z0-9-_]+)\\/?";
replace = "https://g.ddinstagram.com/$2/$3";
}
{
find = "https:\\/\\/x\\.com\\/([^\\/]+\\/status\\/[0-9]+)";
replace = "https://fixupx.com/$1";
}
{
find = "https:\\/\\/twitter\\.com\\/([^\\/]+\\/status\\/[0-9]+)";
replace = "https://fixupx.com/$1";
}
{
find = "https:\\/\\/(www\\.|old\\.)?reddit\\.com\\/(r\\/[a-zA-Z0-9_]+\\/comments\\/[a-zA-Z0-9_]+\\/[^\\s]*)";
replace = "https://vxreddit.com/$2";
}
{
find = "https:\\/\\/(www\\.)?pixiv\\.net\\/(.*)";
replace = "https://phixiv.net/$2";
}
{
find = "https:\\/\\/(?:www\\.|m\\.)?twitch\\.tv\\/twitch\\/clip\\/(.*)";
replace = "https://clips.fxtwitch.tv/$1";
}
{
find = "https:\\/\\/(?:www\\.)?youtube\\.com\\/(?:watch\\?v=|shorts\\/)([a-zA-Z0-9_-]+)";
replace = "https://youtu.be/$1";
}
];
translate.enable = true;
typingIndicator.enable = true;
typingTweaks.enable = true;
userVoiceShow.enable = true;
validReply.enable = true;
validUser.enable = true;
volumeBooster.enable = true;
spotifyCrack.enable = true;
}