Files
nixos/modules
luochen570 a2bd672cf7 refactor: move sudo to core, lxc SSH to profile, clean up old lxc config
- sudo (wheelNeedsPassword) → modules/core/core.nix (全局)
- LXC SSH override (PermitRootLogin, PasswordAuth) → profiles/lxc.nix
- modules/server/ssh.nix: use mkDefault so profiles can override
- Delete modules/optional/lxc.nix
- Clean up hosts/nixos-lxc/configuration.nix: remove redundant SSH/sudo/users
  (now handled by core + server + profile chain)
- Update modules/optional/README.md
2026-05-27 06:47:50 +08:00
..
2026-03-01 19:38:51 +08:00
2026-03-01 19:38:51 +08:00

🧱 modules 目录说明

系统模块目录。大部分子目录通过 default.nix 提供统一入口,驱动目录采用按文件显式引用。

🌲 目录树

🧱 modules
├─ 🧭 core/         # 全局基础模块
├─ 🖥️ desktop/      # 桌面模块DE/WM/应用)
├─ 🎮 drivers/      # 硬件驱动模块(如 NVIDIA
└─ 🗄️ server/       # 服务器模块

rn