diff --git a/flake.nix b/flake.nix index f566484..3e01a23 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/kogami/home.nix b/kogami/home.nix index 274f037..8de34c5 100644 --- a/kogami/home.nix +++ b/kogami/home.nix @@ -64,6 +64,7 @@ firefox.enable = true; spotify.enable = true; + vencord.enable = true; }; # Basic programs to enable diff --git a/nixos/home/apps/applications.nix b/nixos/home/apps/applications.nix index e3cb911..8190f77 100644 --- a/nixos/home/apps/applications.nix +++ b/nixos/home/apps/applications.nix @@ -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 diff --git a/nixos/home/packages/applications/vencord.nix b/nixos/home/packages/applications/vencord.nix new file mode 100644 index 0000000..99aab5e --- /dev/null +++ b/nixos/home/packages/applications/vencord.nix @@ -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 + # ... + }; + }; + }; +} \ No newline at end of file diff --git a/nixos/home/packages/packages.nix b/nixos/home/packages/packages.nix index e2044c6..349f4d1 100644 --- a/nixos/home/packages/packages.nix +++ b/nixos/home/packages/packages.nix @@ -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;