Files
nixos/hosts
luochen570 33c7f0b6fd sync: merge s0.sermc.net LXC configuration
- Add users.luochen570 user config
- Add nix substituters (Tsinghua mirror)
- Add nix experimental-features (nix-command, flakes)
- Set system.stateVersion to 25.05
2026-05-26 12:40:25 +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