e92c7aee31
- 新增 lib/ 辅助函数(mkNixos/mkDarwin/mkHome),消除硬编码 - 拆分 modules/ 为 nixos/darwin/shared 三层,支持跨平台共享 - 重构 home/ 为 shell/dev/theme 子模块,工具全部迁入用户级 - 深度配置 Tmux/FZF/Atuin/Bat/Eza/Btop/Lazygit/Starship - 添加 Catppuccin Mocha 统一主题、Nerd Fonts 声明式管理 - 新增 homeConfigurations 输出,支持非 NixOS 系统直装 - 新增 nix-darwin 输入,预留 macOS 扩展路径 - 新增 overlays/ 和 pkgs/ 自定义包基础设施 - 修正 nix-darwin URL(LnL7 → nix-darwin org)
19 lines
497 B
Nix
19 lines
497 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# ── System-essential packages ──────────────────────
|
|
# User-level tools live in home-manager (home/)
|
|
environment.systemPackages = with pkgs; [
|
|
curl
|
|
git
|
|
vim
|
|
wget
|
|
];
|
|
|
|
# ── Fonts ──────────────────────────────────────────
|
|
fonts.packages = with pkgs; [
|
|
maple-mono.NF-CN-unhinted
|
|
nerd-fonts.symbols-only
|
|
];
|
|
}
|