Files
nixos/modules/packages.nix

106 lines
1.6 KiB
Nix

{ pkgs, gamingSystem, workSystem, currentSystemDe, ... }@ inputs:
{
environment.systemPackages = with pkgs; [
# CLI utils
appimage-run
btop
busybox
distrobox
docker
fish
fzf
git
gitlab-ci-local
gnumake
htop
inotify-tools
jq
killall
krabby
libreoffice
md2pdf
nmap
nodejs
openvpn
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.${system}.default # The only and one great editor improved even further
# Video card
vulkan-tools
# GUI applications
baobab
firefox
gnome-boxes
kitty
mpv
telegram-desktop
] ++ (if gamingSystem then [
archipelago
dolphin-emu
heroic
libresprite
mangohud
openrgb
prismlauncher
protonplus
vesktop
] else []
++ (if workSystem then [
android-studio
] 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 []);
programs.steam = if gamingSystem then {
enable = true;
package = pkgs.steam-millennium;
remotePlay.openFirewall = true;
} else {};
programs.hyprland.enable = if currentSystemDe == "hyprland" then true else false;
programs.nh = {
enable = true;
};
xdg = {
autostart.enable = true;
portal = {
enable = true;
extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
];
};
};
}