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
tesseract
yubikey-touch-detector
@ -48,7 +88,6 @@
gitleaks
ripgrep
yt-dlp
spotify-player
nodejs_22
yarn
cargo
@ -61,6 +100,8 @@
powertop
android-tools
sshpass
net-tools
nmap
# Install pip packages
# python3
@ -69,29 +110,6 @@
# 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.nixvim.packages.${pkgs.system}.default
mermaid-cli
@ -103,5 +121,6 @@
khard
khal
vdirsyncer
];
]
++ guiPkgs;
}