mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: write cursed package function
This commit is contained in:
parent
efb7abb67e
commit
962f396596
1 changed files with 119 additions and 100 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue