Files
nixos/hosts
luochen570 c92c904e76 chore: clean up and optimize nixos configuration
- fix: nvidia.nix missing semicolon (build error)
- remove: ranger, vim from core/pkg.nix (yazi + neovim covers)
- remove: htop duplicate in home/pkg.nix (keep in system)
- replace: neofetch with fastfetch in home/pkg.nix
- remove: nixd LSP, keep nil only in nvchad.nix
- remove: empty server/pkg.nix and no-op server/firewall.nix
- remove: redundant services.pulseaudio.enable = false default
- add: comprehensive README.md documenting architecture
2026-05-24 10:36:23 +08:00
..
2026-03-01 19:38:51 +08:00
2026-03-01 19:38:51 +08:00
2026-03-01 19:38:51 +08:00
2026-03-01 19:38:51 +08:00
2026-03-01 19:38:51 +08:00

🖥️ hosts 目录说明

主机入口层。每台主机目录固定为三文件结构:

  • default.nix:统一入口,导入 configuration.nix
  • configuration.nix主机配置profile + hostName + 机器项)
  • README.md:目录说明

🌲 目录树

🖥️ hosts
├─ 🧑‍💻 desktop/
│  ├─ 🧩 default.nix
│  ├─ ⚙️ configuration.nix
│  └─ 📝 README.md
├─ 🗄️ server/
│  ├─ 🧩 default.nix
│  ├─ ⚙️ configuration.nix
│  └─ 📝 README.md
└─ 📦 virtualbox/
   ├─ 🧩 default.nix
   ├─ ⚙️ configuration.nix
   ├─ 🧱 hardware-configuration.nix
   └─ 📝 README.md

rn