nix-config/nixos/common/global/env.nix
jasmine 28ba8186bb
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.
2025-10-05 22:37:48 +08:00

49 lines
826 B
Nix

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