NixOS as a desktop/zh: Difference between revisions

Moraxyc (talk | contribs)
Created page with "=== 使用 Home Manager 管理用户配置 ==="
Moraxyc (talk | contribs)
Created page with "针对应用程序偏好设置、命令行工具以及 dotfiles 等用户级配置的管理,Home Manager 提供了一种便捷的声明式方案。 它允许用户自行定义需要安装的程序及其具体配置方式,而无需将这些设置写入系统级的 [https://nixos.org/manual/nixos/stable/#sec-changing-config configuration.nix] 中。"
Line 33: Line 33:
=== 使用 Home Manager 管理用户配置 ===
=== 使用 Home Manager 管理用户配置 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
针对应用程序偏好设置、命令行工具以及 dotfiles 等用户级配置的管理,[[Home Manager]] 提供了一种便捷的声明式方案。
For managing per-user configurations such as application preferences, command-line tools, and dotfiles, [[Home Manager]] provides a convenient, declarative approach. It allows users to define which programs should be installed and how they should be configured, without needing to include those settings in the system-wide [https://nixos.org/manual/nixos/stable/#sec-changing-config configuration.nix].
 
</div>
它允许用户自行定义需要安装的程序及其具体配置方式,而无需将这些设置写入系统级的 [https://nixos.org/manual/nixos/stable/#sec-changing-config configuration.nix] 中。


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">