new file: flake.lock

modified:   home/git.nix
	modified:   hosts/README.md
	modified:   hosts/virtualbox/README.md
	modified:   hosts/virtualbox/configuration.nix
	modified:   modules/core/users.nix
	modified:   modules/desktop/pkg.nix
	modified:   modules/server/README.md
	modified:   profiles/README.md
This commit is contained in:
luochen570
2026-02-28 11:14:50 +08:00
parent 3659dc3e50
commit 26b5caa6d0
9 changed files with 300 additions and 31 deletions

View File

@@ -1,11 +1,12 @@
# hosts/virtualbox
# 📦 hosts/virtualbox
VirtualBox guest host entry.
VirtualBox 虚拟机主机入口。
## Layout
## 🌲 目录树
```text
hosts/virtualbox
|- default.nix # host entry, imports configuration.nix
|- configuration.nix # profile + hostName + machine specific options
`- README.md
```
📦 hosts/virtualbox
├─ 🧩 default.nix # 主机入口,引用 configuration.nix 与硬件配置
├─ ⚙️ configuration.nix # profile + hostName + 机器相关配置
├─ 🧱 hardware-configuration.nix # 由 nixos-generate-config 生成的硬件配置
└─ 📝 README.md
```

View File

@@ -6,6 +6,9 @@
networking.hostName = "virtualbox";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Machine-specific config generated by nixos-generate-config can be
# merged here: disk layout, boot loader, filesystem, hardware options.
}
}