refactor(global): reorganize system packages by category

Restructured systemPackages list with alphabetically sorted categories to improve
maintainability and reduce vertical space. Added descriptive comments for all
environment configuration sections.
This commit is contained in:
♥ Minnie ♥ 2025-10-05 22:37:48 +08:00
parent bc4321a3cc
commit 28ba8186bb
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -1,37 +1,48 @@
{pkgs, ...}: {
environment = {
# Default shell for system scripts
binsh = "${pkgs.bash}/bin/bash";
# Available shells for users
shells = with pkgs; [zsh];
systemPackages = with pkgs; [
# Ensure home-manager is on all systems
# System Management
home-manager
# Useful system utilities
tree
bc
fd
# Archive & Compression
p7zip unzip
# Development Tools
git jq
# Editors
vim
ranger
# File Management
fd ranger tree
# Graphics & Screenshots
feh scrot
# Networking
curl nmap sshfs wget
# System Monitoring
htop
scrot
jq
git
nmap
xclip
# System Utilities
bc xclip
# Text Processing
ripgrep
sshfs
feh
curl
wget
unzip
p7zip
];
# List of directories to be symlinked to /run/current-system/sw
pathsToLink = ["/share/zsh"];
};
# System Fonts
# System-wide font packages
fonts.packages = with pkgs; [
lmodern
];