organize packages
This commit is contained in:
93
modules/software/social/nixcord.nix
Normal file
93
modules/software/social/nixcord.nix
Normal file
@@ -0,0 +1,93 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.nixcord = {
|
||||
homeManager = {
|
||||
imports = [ inputs.nixcord.homeModules.nixcord ];
|
||||
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
|
||||
discord.enable = false;
|
||||
vesktop.enable = true;
|
||||
|
||||
config = {
|
||||
themeLinks = [
|
||||
"https://catppuccin.github.io/discord/dist/catppuccin-mocha-mauve.theme.css"
|
||||
"https://codeberg.org/ridge/Discord-Adblock/raw/branch/main/discord-adblock.css"
|
||||
];
|
||||
|
||||
plugins = {
|
||||
alwaysTrust.enable = true;
|
||||
betterGifPicker.enable = true;
|
||||
betterUploadButton.enable = true;
|
||||
biggerStreamPreview.enable = true;
|
||||
callTimer.enable = true;
|
||||
fullSearchContext.enable = true;
|
||||
fullUserInChatbox.enable = true;
|
||||
implicitRelationships.enable = true;
|
||||
dearrow.enable = true;
|
||||
youtubeAdblock.enable = true;
|
||||
fixYoutubeEmbeds.enable = true;
|
||||
|
||||
# lastFMRichPresence = {
|
||||
# enable = true;
|
||||
# username = "USER_NAME";
|
||||
# apiKey = "YOUR_LASTFM_API_KEY";
|
||||
# hideWithSpotify = false;
|
||||
# nameFormat = "artist-first";
|
||||
# useListeningStatus = true;
|
||||
# showLastFmLogo = false;
|
||||
# };
|
||||
|
||||
viewIcons.enable = true;
|
||||
volumeBooster.enable = true;
|
||||
webScreenShareFixes.enable = true;
|
||||
fixImagesQuality.enable = true;
|
||||
|
||||
messageLogger = {
|
||||
enable = true;
|
||||
collapseDeleted = true;
|
||||
ignoreSelf = true;
|
||||
ignoreBots = 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://vxtwitter.com/$1";
|
||||
}
|
||||
{
|
||||
find = "https:\\/\\/twitter\\.com\\/([^\\/]+\\/status\\/[0-9]+)";
|
||||
replace = "https://vxtwitter.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";
|
||||
}
|
||||
];
|
||||
|
||||
disableCallIdle.enable = true;
|
||||
|
||||
ClearURLs.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user