Files
nix-config/modules/hm/desktop/discord.nix
2026-09-11 01:59:55 +05:30

59 lines
1.5 KiB
Nix

{
flake.modules.homeManager.desktop = {
inputs,
userName,
...
}: {
imports = [
inputs.nixcord.homeModules.nixcord
];
programs.nixcord = {
enable = true;
user = userName;
discord.enable = false;
vesktop.enable = true;
config = {
themeLinks = [
"https://raw.githubusercontent.com/refact0r/system24/refs/heads/main/archive/flavors/spotify-text.theme.css"
];
frameless = true;
plugins = {
hideMedia.enable = true;
anonymiseFileNames.enable = true;
copyFileContents.enable = true;
noTypingAnimation.enable = true;
readAllNotificationsButton.enable = true;
silentTyping.enable = true;
validUser.enable = true;
biggerStreamPreview.enable = true;
ignoreActivities = {
enable = true;
ignorePlaying = true;
ignoreWatching = true;
};
sortFriendRequests = {
enable = true;
showDates = true;
};
};
};
dorion = {
theme = "dark";
zoom = "1.1";
blur = "acrylic";
sysTray = true;
openOnStartup = true;
autoClearCache = true;
disableHardwareAccel = false;
rpcServer = true;
rpcProcessScanner = true;
pushToTalk = true;
pushToTalkKeys = ["RControl"];
desktopNotifications = true;
unreadBadge = true;
};
};
};
}