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; };
|
shell = import ../../common/shell.nix { inherit config pkgs; };
|
||||||
p = import ../../common/pkgs.nix { inherit pkgs config; };
|
p = import ../../common/pkgs.nix { inherit pkgs config; };
|
||||||
_p1 = p.dev ++ p.gui ++ p.general ++ p.scripts ++ p.gaming;
|
_p1 = p.dev ++ p.gui ++ p.general ++ p.scripts ++ p.gaming;
|
||||||
|
ol = p.overlays;
|
||||||
zshInitArgs = [
|
zshInitArgs = [
|
||||||
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||||
"source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
"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
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = _p1;
|
home.packages = _p1;
|
||||||
|
nixpkgs.overlays = [ol.discord];
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = files;
|
home.file = files;
|
||||||
|
|
|
@ -36,6 +36,16 @@ in
|
||||||
]))
|
]))
|
||||||
nodejs_22
|
nodejs_22
|
||||||
];
|
];
|
||||||
|
overlays = {
|
||||||
|
discord = (final: prev: {
|
||||||
|
discord = prev.discord.override {
|
||||||
|
# withOpenASAR = false;
|
||||||
|
# withVencord = true;
|
||||||
|
# pname = "Discord";
|
||||||
|
vencord = cpkg.vencord;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
gui = with pkgs;[
|
gui = with pkgs;[
|
||||||
python312Packages.openai-whisper
|
python312Packages.openai-whisper
|
||||||
cinny-desktop
|
cinny-desktop
|
||||||
|
@ -54,17 +64,20 @@ in
|
||||||
inkscape
|
inkscape
|
||||||
#OCR ENGINE
|
#OCR ENGINE
|
||||||
tesseract4
|
tesseract4
|
||||||
|
(pkgs.discord.override {
|
||||||
|
withVencord = true;
|
||||||
|
})
|
||||||
# discord = cpkg.discord.override {
|
# discord = cpkg.discord.override {
|
||||||
# withOpenASAR = true;
|
# withOpenASAR = true;
|
||||||
# withVencord = true;
|
# withVencord = true;
|
||||||
# };
|
# };
|
||||||
(self: super: {
|
# (self: super: {
|
||||||
discord = super.discord.overrideAttrs (oldAttrs: {
|
# discord = super.discord (oldAttrs: {
|
||||||
# mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
# # mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
withVencord = true;
|
# withVencord = true;
|
||||||
vencord = cpkg.vencord;
|
# vencord = cpkg.vencord;
|
||||||
});
|
# });
|
||||||
})
|
# })
|
||||||
# (pkgs.discord.override {
|
# (pkgs.discord.override {
|
||||||
# vencord = cpkg.vencord;
|
# vencord = cpkg.vencord;
|
||||||
# })
|
# })
|
||||||
|
|
|
@ -59,6 +59,7 @@ buildNpmPackage rec {
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
name = pname;
|
||||||
description = "Vencord web extension";
|
description = "Vencord web extension";
|
||||||
homepage = "https://github.com/Vendicated/Vencord";
|
homepage = "https://github.com/Vendicated/Vencord";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
|
|
Loading…
Reference in a new issue