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

View File

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

View File

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

View File

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