nix-config/nixos/common/global/env.nix
jasmine 4169045fa4
feat(jade): create modular desktop environment
Rename xmonad/ to jade/ and restructure as a complete desktop environment
with hybrid NixOS and home-manager modules. This establishes jade as a
self-contained, gruvbox-themed DE that can eventually be extracted as a flake.

Changes:
- Create jade/ with NixOS module (WM, system packages, GTK theme)
- Create jade/home.nix for home-manager services (wezterm, picom, dunst)
- Move dmenu with gruvbox patches into jade/dmenu/
- Convert wezterm to pure Lua config with gruvbox-material colors
- Move xinitrc into jade/ directory
- Remove feh/scrot from global env (now in jade)
- Remove dmenu overlay from global overlays
- Simplify home-manager desktop features to just user apps

This follows the pattern of real DEs (GNOME, KDE) where system and user
configs are split across NixOS and home-manager modules.
2025-12-21 12:36:11 +08:00

46 lines
778 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
# 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
];
}