mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
guh2
This commit is contained in:
parent
642a110fde
commit
b2f5f31028
3 changed files with 23 additions and 7 deletions
|
@ -8,6 +8,7 @@ let
|
|||
shell = import ../../common/shell.nix { inherit config pkgs; };
|
||||
p = import ../../common/pkgs.nix { inherit pkgs config; };
|
||||
_p1 = p.dev ++ p.gui ++ p.general ++ p.scripts ++ p.gaming;
|
||||
ol = p.overlays;
|
||||
zshInitArgs = [
|
||||
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||
"source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
|
@ -68,6 +69,7 @@ nixpkgs.config.allowInsecurePredicate = (pkg: true);
|
|||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = _p1;
|
||||
nixpkgs.overlays = [ol.discord];
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = files;
|
||||
|
|
|
@ -36,6 +36,16 @@ in
|
|||
]))
|
||||
nodejs_22
|
||||
];
|
||||
overlays = {
|
||||
discord = (final: prev: {
|
||||
discord = prev.discord.override {
|
||||
# withOpenASAR = false;
|
||||
# withVencord = true;
|
||||
# pname = "Discord";
|
||||
vencord = cpkg.vencord;
|
||||
};
|
||||
});
|
||||
};
|
||||
gui = with pkgs;[
|
||||
python312Packages.openai-whisper
|
||||
cinny-desktop
|
||||
|
@ -54,17 +64,20 @@ in
|
|||
inkscape
|
||||
#OCR ENGINE
|
||||
tesseract4
|
||||
(pkgs.discord.override {
|
||||
withVencord = true;
|
||||
})
|
||||
# discord = cpkg.discord.override {
|
||||
# withOpenASAR = true;
|
||||
# withVencord = true;
|
||||
# };
|
||||
(self: super: {
|
||||
discord = super.discord.overrideAttrs (oldAttrs: {
|
||||
# mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
withVencord = true;
|
||||
vencord = cpkg.vencord;
|
||||
});
|
||||
})
|
||||
# (self: super: {
|
||||
# discord = super.discord (oldAttrs: {
|
||||
# # mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
# withVencord = true;
|
||||
# vencord = cpkg.vencord;
|
||||
# });
|
||||
# })
|
||||
# (pkgs.discord.override {
|
||||
# vencord = cpkg.vencord;
|
||||
# })
|
||||
|
|
|
@ -59,6 +59,7 @@ buildNpmPackage rec {
|
|||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
name = pname;
|
||||
description = "Vencord web extension";
|
||||
homepage = "https://github.com/Vendicated/Vencord";
|
||||
license = licenses.gpl3Only;
|
||||
|
|
Loading…
Reference in a new issue