Files
nixos/modules/packages.nix
2026-02-03 20:27:29 +01:00

103 lines
1.5 KiB
Nix

{ pkgs, nur, gamingSystem, workSystem, currentSystemDe, ... }@ inputs:
{
imports = [
./programs
];
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# CLI utils
appimage-run
btop
bun
busybox
distrobox
docker
fish
fzf
git
gitlab-ci-local
gnumake
htop
inotify-tools
jq
just
killall
krabby
nmap
nodejs
openssl
openvpn
pinentry-tty
podman-compose
python3
ripgrep
tree
unzip
wget
wl-clipboard
xdotool
xorg.xwininfo
yad
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
baobab
bazaar
blackbox-terminal
firefox
gnome-boxes
mpv
nextcloud-client
piper
spotube
telegram-desktop
thunderbird
] else [])
++ (if gamingSystem then [
cura-appimage
discord
ftb-app
heroic
lutris
mangohud
openrgb
prismlauncher
protonplus
satisfactorymodmanager
xenia-canary
] 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
] else []);
}