style: 将项目中所有英文注释统一改为中文

This commit is contained in:
2026-04-15 16:40:20 +08:00
parent 2cd41bcd16
commit 41913d9a24
13 changed files with 68 additions and 65 deletions
+7 -7
View File
@@ -1,13 +1,13 @@
{ ... }:
{
# ── Mac Mini specific ─────────────────────────────────
# Always plugged in — 24/7 server role
# ── Mac Mini 专属配置 ────────────────────────────────
# 常驻供电 — 全天候服务器角色
# Touch ID for sudo
# Touch ID 验证 sudo
security.pam.services.sudo_local.touchIdAuth = true;
# ── Never sleep ─────────────────────────────────────
# ── 禁止睡眠 ────────────────────────────────────────
power.sleep.computer = "never";
power.sleep.display = "never";
power.sleep.harddisk = "never";
@@ -15,15 +15,15 @@
power.restartAfterPowerFailure = true;
power.restartAfterFreeze = true;
# ── Wake on LAN ──────────────────────────────────
# ── 网络唤醒(WoL─────────────────────────────────
networking.wakeOnLan.enable = true;
# ── Screen Sharing (VNC) & pmset ─────────────────
# ── 屏幕共享(VNC& pmset ──────────────────────────
system.activationScripts.postActivation.text = ''
# VNC
launchctl enable system/com.apple.screensharing
launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist 2>/dev/null || true
# Disable Power Nap
# Power Nap
pmset -a powernap 0
'';