feat: write cursed package function

This commit is contained in:
Ahwx 2025-07-30 16:33:52 +02:00
parent efb7abb67e
commit 962f396596

View file

@ -1,6 +1,46 @@
{ inputs, pkgs, ... }:
{ {
home.packages = with pkgs; [ inputs,
lib,
pkgs,
...
}:
with lib;
let
guiPkgs =
if (config.liv.gui == true) then
[
element-desktop
gajim
signal-desktop
anki-bin
obs-studio
wdisplays
librewolf # main
ungoogled-chromium # for things that don't work with librewolf
nsxiv
imv
libreoffice
xfce.thunar
spotify
spotify-player
thunderbird
lxqt.pavucontrol-qt
mpv
plasma5Packages.kdeconnect-kde
# onthespot-overlay
# Gaming
lunar-client
]
else
[
killall
];
in
{
home.packages =
with pkgs;
[
# Environment shit # Environment shit
tesseract tesseract
yubikey-touch-detector yubikey-touch-detector
@ -48,7 +88,6 @@
gitleaks gitleaks
ripgrep ripgrep
yt-dlp yt-dlp
spotify-player
nodejs_22 nodejs_22
yarn yarn
cargo cargo
@ -61,6 +100,8 @@
powertop powertop
android-tools android-tools
sshpass sshpass
net-tools
nmap
# Install pip packages # Install pip packages
# python3 # python3
@ -69,29 +110,6 @@
# pip install --user --break-system-packages <package> # pip install --user --break-system-packages <package>
# '') # '')
# GUI shit
element-desktop
gajim
signal-desktop
anki-bin
obs-studio
wdisplays
librewolf # main
ungoogled-chromium # for things that don't work with librewolf
nsxiv
imv
libreoffice
xfce.thunar
spotify
thunderbird
lxqt.pavucontrol-qt
mpv
plasma5Packages.kdeconnect-kde
# onthespot-overlay
# Gaming
lunar-client
inputs.alejandra.defaultPackage.${system} inputs.alejandra.defaultPackage.${system}
inputs.nixvim.packages.${pkgs.system}.default inputs.nixvim.packages.${pkgs.system}.default
mermaid-cli mermaid-cli
@ -103,5 +121,6 @@
khard khard
khal khal
vdirsyncer vdirsyncer
]; ]
++ guiPkgs;
} }