Files
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-02-28 10:21:32 +08:00
2026-03-01 19:38:51 +08:00
2026-02-28 10:21:32 +08:00
2026-03-01 19:38:51 +08:00

🧭 modules/core

所有主机场景都会引入的基础模块。

🌲 目录树

🧭 modules/core
├─ 🧩 default.nix  # 基础 imports + 时区/镜像源/flakes 等默认设置
├─ 📦 pkg.nix      # 全局基础软件包
├─ 👤 users.nix    # 用户、默认 shell、密码与公钥
└─ 🔐 sops.nix     # sops-nix secret 映射

rn