nixcord added instead of vesktop

This commit is contained in:
foglar 2025-01-25 20:24:28 +01:00
parent 4701552bac
commit 64905e85d4
5 changed files with 85 additions and 3 deletions

View File

@ -144,6 +144,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixcord = {
url = "github:kaylorben/nixcord";
};
shinya-nvf.url = "git+https://git.foglar.tech/foglar/neovim-config";
# Nix Flake Install Script

View File

@ -64,6 +64,7 @@
firefox.enable = true;
spotify.enable = true;
vencord.enable = true;
};
# Basic programs to enable

View File

@ -10,8 +10,6 @@
};
config = lib.mkIf config.app_list.applications.enable {
services.arrpc.enable = true;
home.packages =
(with pkgs; [
librewolf-wayland
@ -44,7 +42,6 @@
++ (with pkgs-stable; [
loupe
simple-scan
vesktop
gnome-font-viewer
gnome-characters
evince

View File

@ -0,0 +1,78 @@
{
lib,
config,
pkgs,
inputs,
...
}:
{
options = {
program.vencord.enable =
lib.mkEnableOption "Enable Vencord";
};
imports = [
inputs.nixcord.homeManagerModules.nixcord
];
config = lib.mkIf config.program.vencord.enable {
programs.nixcord = {
enable = true; # enable Nixcord. Also installs discord package
vesktop.enable = true; # enable Vesktop
discord.enable = false; # enable Discord
#quickCss = "some CSS"; # quickCSS file
config = {
#useQuickCss = true; # use out quickCSS
#themeLinks = [ # or use an online theme
# "https://raw.githubusercontent.com/link/to/some/theme.css"
#];
frameless = true; # set some Vencord options
plugins = {
anonymiseFileNames.enable = true;
betterUploadButton.enable = true;
clearURLs.enable = true;
copyFileContents.enable = true;
crashHandler.enable = true;
decor.enable = true;
emoteCloner.enable = true;
fakeNitro.enable = true;
fakeProfileThemes.enable = true;
fixSpotifyEmbeds.enable = true;
fixYoutubeEmbeds.enable = true;
friendsSince.enable = true;
iLoveSpam.enable = true;
invisibleChat.enable = true;
messageLogger.enable = true;
noProfileThemes.enable = true;
nsfwGateBypass.enable = true;
openInApp.enable = true;
permissionFreeWill.enable = true;
pictureInPicture.enable = true;
reverseImageSearch.enable = true;
showConnections.enable = true;
showHiddenChannels.enable = true;
showHiddenThings.enable = true;
showMeYourName.enable = true;
silentTyping.enable = true;
spotifyCrack.enable = true;
typingIndicator.enable = true;
webKeybinds.enable = true;
webRichPresence.enable = true;
webScreenShareFixes.enable = true;
youtubeAdblock.enable = true;
#ignoreActivities = { # Enable a plugin and set some options
# enable = true;
# ignorePlaying = true;
# ignoreWatching = true;
# ignoredActivities = [ "someActivity" ];
#};
};
};
extraConfig = {
# Some extra JSON config here
# ...
};
};
};
}

View File

@ -17,6 +17,7 @@
./applications/firefox.nix
./applications/spotify.nix
./applications/vencord.nix
./tools/oh-my-posh.nix
./tools/shell.nix
@ -69,6 +70,7 @@
then lib.mkDefault true
else lib.mkDefault false;
spotify.enable = lib.mkDefault true;
vencord.enable = lib.mkDefault false;
vscode = {
enable = lib.mkDefault true;