more packages concatenation

This commit is contained in:
Danilo Reyes 2024-12-07 23:03:24 -06:00
parent ecec4b138d
commit 67409c9cbf
4 changed files with 82 additions and 97 deletions

View File

@ -20,36 +20,33 @@
}; };
}; };
users.users.jawz.packages = users.users.jawz.packages =
let builtins.attrValues {
packages = builtins.attrValues { inherit (pkgs)
inherit (pkgs) shipwright # zelda OoT port
shipwright # zelda OoT port mangohud # fps & stats overlay
mangohud # fps & stats overlay lutris # games launcher & emulator hub
lutris # games launcher & emulator hub cartridges # games launcher
cartridges # games launcher gamemode # optimizes linux to have better gaming performance
gamemode # optimizes linux to have better gaming performance heroic # install epic games
heroic # install epic games protonup-qt # update proton-ge
protonup-qt # update proton-ge ns-usbloader # load games into my switch
ns-usbloader # load games into my switch
# emulators # emulators
rpcs3 # ps3 rpcs3 # ps3
pcsx2 # ps2 pcsx2 # ps2
cemu # wii u cemu # wii u
dolphin-emu # wii dolphin-emu # wii
snes9x-gtk # snes snes9x-gtk # snes
ryujinx # switch ryujinx # switch
; ;
}; }
customPackages = [ ++ [
# minecraft launcher # minecraft launcher
(pkgs.callPackage ../../pkgs/polymc/default.nix { }) (pkgs.callPackage ../../pkgs/polymc/default.nix { })
# Super Mario 127 # Super Mario 127
(pkgs.callPackage ../../pkgs/super-mario-127/default.nix { }) (pkgs.callPackage ../../pkgs/super-mario-127/default.nix { })
# 3Ds emulator # 3Ds emulator
(pkgs.callPackage ../../pkgs/citra/default.nix { branch = "nightly"; }) (pkgs.callPackage ../../pkgs/citra/default.nix { branch = "nightly"; })
]; ];
in
packages ++ customPackages;
}; };
} }

View File

@ -20,28 +20,25 @@
}; };
}; };
users.users.jawz.packages = users.users.jawz.packages =
let [
otherPackages = [ # video download helper assistant
# video download helper assistant (pkgs.callPackage ../../pkgs/vdhcoapp/default.nix { })
(pkgs.callPackage ../../pkgs/vdhcoapp/default.nix { }) (pkgs.callPackage ../../pkgs/talk/default.nix { })
(pkgs.callPackage ../../pkgs/talk/default.nix { }) ]
]; ++ builtins.attrValues {
packages = builtins.attrValues { inherit (pkgs)
inherit (pkgs) thunderbird # email client
thunderbird # email client warp # transfer files with based ppl
warp # transfer files with based ppl brave # crypto-browser that at least somewhat integrates with gtk
brave # crypto-browser that at least somewhat integrates with gtk nextcloud-client # self-hosted google-drive alternative
nextcloud-client # self-hosted google-drive alternative fragments # beautiful torrent client
fragments # beautiful torrent client tor-browser-bundle-bin # dark web, so dark!
tor-browser-bundle-bin # dark web, so dark! telegram-desktop # furry chat
telegram-desktop # furry chat nicotine-plus # remember Ares?
nicotine-plus # remember Ares? vesktop # screen share with audio discord
vesktop # screen share with audio discord discord-ptb # :3
discord-ptb # :3 teamspeak5_client # ppl say they will use this...?
teamspeak5_client # ppl say they will use this...? ;
; };
};
in
packages ++ otherPackages;
}; };
} }

View File

@ -25,38 +25,33 @@
}; };
}; };
users.users.jawz.packages = users.users.jawz.packages =
let builtins.attrValues {
packagesDoomEverywhere = builtins.attrValues { inherit (pkgs.xorg) xwininfo;
inherit (pkgs.xorg) xwininfo; inherit (pkgs)
inherit (pkgs) xdotool
xdotool xclip
xclip wl-clipboard-rs
wl-clipboard-rs ;
; }
}; ++ builtins.attrValues {
packages = builtins.attrValues { inherit (pkgs)
inherit (pkgs) fd # modern find, faster searches
fd # modern find, faster searches fzf # fuzzy finder! super cool and useful
fzf # fuzzy finder! super cool and useful ripgrep # modern grep
ripgrep # modern grep tree-sitter # code parsing based on symbols and shit, I do not get it
tree-sitter # code parsing based on symbols and shit, I do not get it graphviz # graphs
graphviz # graphs tetex # export pdf
tetex # export pdf languagetool # proofreader for English
languagetool # proofreader for English
# lsps # lsps
yaml-language-server yaml-language-server
markdownlint-cli markdownlint-cli
; ;
}; inherit (pkgs.nodePackages)
packagesNode = builtins.attrValues { vscode-json-languageserver
inherit (pkgs.nodePackages) prettier # multi-language linter
vscode-json-languageserver ;
prettier # multi-language linter };
;
};
in
packages ++ packagesDoomEverywhere ++ packagesNode;
services.emacs = { services.emacs = {
enable = true; enable = true;
package = package =

View File

@ -40,16 +40,11 @@ in
isSystemUser = true; isSystemUser = true;
extraGroups = [ "render" ]; extraGroups = [ "render" ];
packages = packages =
let builtins.attrValues {
packages = builtins.attrValues { inherit (pkgs) mediainfo nodejs perl;
inherit (pkgs) mediainfo nodejs perl; }
}; ++ [
(pkgs.perlPackages.buildPerlPackage (
pythonPackages = [
(pkgs.python311.withPackages (ps: [ ps.tensorflow ]))
];
perlPackages = pkgs.perlPackages.buildPerlPackage (
let let
version = "12.70"; version = "12.70";
in in
@ -61,9 +56,10 @@ in
hash = "sha256-TLJSJEXMPj870TkExq6uraX8Wl4kmNerrSlX3LQsr/4="; hash = "sha256-TLJSJEXMPj870TkExq6uraX8Wl4kmNerrSlX3LQsr/4=";
}; };
} }
); ))
in (pkgs.python311.withPackages (ps: [ ps.tensorflow ]))
packages ++ pythonPackages ++ [ perlPackages ]; ];
}; };
programs.msmtp = { programs.msmtp = {
enable = true; enable = true;