feat: configure discord via nix

such that it themes and is declarative
This commit is contained in:
Teesh 2026-03-11 09:26:30 +02:00
parent 1b74745d5d
commit 5b6dff7fc0
3 changed files with 116 additions and 11 deletions

View file

@ -1,10 +1,29 @@
{...}: {
flake.modules.nixos.desktop = {pkgs, ...}: let
discord = pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
{inputs, ...}: {
flake.modules.homeManager.desktop = {
imports = [inputs.nixcord.homeModules.nixcord];
programs.nixcord = {
enable = true;
discord.vencord.enable = false;
discord.equicord.enable = true;
config = {
frameless = true;
enableReactDevtools = true;
plugins.ClearURLs.enable = true;
plugins.shikiCodeblocks.enable = true;
plugins.betterGifPicker.enable = true;
plugins.betterCommands.enable = true;
plugins.betterPlusReacts.enable = true;
plugins.betterSettings.enable = true;
plugins.bypassPinPrompt.enable = true;
plugins.commandPalette.enable = true;
plugins.experiments.enable = true;
plugins.betterInvites.enable = true;
plugins.fakeNitro.enable = true;
};
};
in {
environment.systemPackages = [discord];
};
}