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:
@@ -16,6 +16,11 @@
|
||||
│ ├─ 🧩 default.nix
|
||||
│ ├─ ⚙️ configuration.nix
|
||||
│ └─ 📝 README.md
|
||||
├─ 📦 virtualbox/
|
||||
│ ├─ 🧩 default.nix
|
||||
│ ├─ ⚙️ configuration.nix
|
||||
│ ├─ 🧱 hardware-configuration.nix
|
||||
│ └─ 📝 README.md
|
||||
└─ 🪟 wsl/
|
||||
├─ 🧩 default.nix
|
||||
├─ ⚙️ configuration.nix
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user