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