CrOS/modules/programs.nix
2024-09-17 20:11:18 -04:00

99 lines
2.2 KiB
Nix

{ inputs, pkgs, lib, config, ...}: {
environment.systemPackages = with pkgs;
(
# Core packages
if config.packages.core.enable
then [
vim
wget
screen
git
curl
foot
tmux
pulseaudio
keyd
] else []
)
++ (
if config.packages.gui.enable
then [
# Writing
logseq
hunspellDicts.en-us
libreoffice
hunspell
# Audio
pavucontrol
pulsemixer
noisetorch
# Communication
mattermost-desktop
slack
zoom-us
vesktop
signal-desktop
teamspeak_client
# Browsing
firefox
tor-browser
# Music
spotify
strawberry-qt6
# Utilities
hyfetch
gimp
] else []
)
++ (
if config.packages.programming.enable
then [
neovim
lua
libgcc
php
python3
serverless
jwt-cli
jq
ddev
cloc
ansible
flutter
] else []
)
++ (
if config.packages.hacking.enable
then [
metasploit
exploitdb
ghidra
wireshark
nmap
hashcat
dirstalk
] else []
)
++ (
if config.packages.mudding.enable
then [
mudlet
] else []
)
++ (
if config.packages.gaming.enable
then [
steam
protonup-qt
prismlauncher
mudlet
widelands
wesnoth
] else []
);
}