Files
nixos/modules/packages.nix
2026-02-10 21:56:19 +01:00

150 lines
2.4 KiB
Nix

{
pkgs,
gamingSystem,
workSystem,
currentSystemDe,
...
}@inputs:
{
imports = [
./programs
];
nixpkgs.config.allowUnfree = true;
environment.systemPackages =
with pkgs;
[
# CLI utils
appimage-run
bat
btop
bun
busybox
distrobox
docker
dua
fd
fish
fzf
gh
git
gitlab-ci-local
gnumake
htop
jq
just
killall
krabby
lazygit
nmap
nodejs
openssl
openvpn
pinentry-tty
python3
ripgrep
tree
unzip
wget
wl-clipboard
zip
zoxide
zulu
# Man pages
man-pages
vim # The only and one great editor
inputs.nixvim.packages.${stdenv.hostPlatform.system}.default # The only and one great editor improved even further
]
++ (
if currentSystemDe != "none" then
[
# Video card
vulkan-tools
# GUI applications
addwater
baobab
bazaar
blackbox-terminal
delfin
firefox
fractal
gapless
gnome-boxes
mpv
nextcloud-client
obs-studio
piper
telegram-desktop
thunderbird
]
else
[ ]
)
++ (
if gamingSystem then
[
cura-appimage
heroic
lutris
mangohud
openrgb
prismlauncher
protonplus
satisfactorymodmanager
# Required for Discord RPC
arrpc
]
else
[ ]
)
++ (
if workSystem then
[
android-studio
ansible
virt-manager
]
else
[ ]
)
++ (
if currentSystemDe == "plasma" then
[
kdePackages.wallpaper-engine-plugin
]
else
[ ]
)
++ (
if currentSystemDe == "hyprland" then
[
# Hyprland
brightnessctl
hyprpaper
pamixer
pavucontrol
kdePackages.dolphin
]
else
[ ]
)
++ (
if currentSystemDe == "gnome" then
[
gnome-tweaks
gnomeExtensions.appindicator
gnomeExtensions.caffeine
gnomeExtensions.dash-to-dock
gnomeExtensions.wallpaper-slideshow
]
else
[ ]
);
}