NixOS Wiki/zh-cn: Difference between revisions

From NixOS Wiki
Mammogram (talk | contribs)
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
由于未知原因,翻译页面在处理url等内容时会出现未知错误,本页面错误处用(!error)代替
__NOTOC__<!-- NOTE: Please don't change the layout/categorizing without first coordinating with the other editors. --><!-- NOTE: Feel free to add/edit content though! --><!-- NOTE: Removing those notes and/or disregarding this is not only rude, but should be considered defacement. -->
__NOTOC__<!-- NOTE: Please don't change the layout/categorizing without first coordinating with the other editors. --><!-- NOTE: Feel free to add/edit content though! --><!-- NOTE: Removing those notes and/or disregarding this is not only rude, but should be considered defacement. -->
<div class="row home-panes">
<div class="row home-panes">
     <div class="col-md-7">
     <div class="col-md-7">
{{home:box|get-started|icon=clarifications|Getting started|
{{home:box|get-started|icon=clarifications|Getting started|
This is the official NixOS Wiki.
这是官方的 NixOS Wiki。
It includes topics not covered in the [https://nixos.org/nixos/manual NixOS Manual]: NixOS user guides, configuration examples, and troubleshooting tips.
它包括 [https://nixos.org/nixos/manual NixOS 手册] 中未涵盖的主题:NixOS 用户指南、配置示例和故障排除提示.
</div>


NixOS 是基于 Nix 包管理器和 Nixpkgs 包存储库的 Linux 操作系统发行版。
NixOS 是基于 Nix 包管理器和 Nixpkgs 包存储库的 Linux 操作系统发行版。


<div lang="en" dir="ltr" class="mw-content-ltr">
Newcomers to NixOS are encouraged to read the [[Nix Ecosystem|Nix Core Ecosystem]] overview article to get a comprehensive orientation. For more specific introductions, see:
Newcomers to NixOS are encouraged to read the [[Nix Ecosystem|Nix Core Ecosystem]] overview article to get a comprehensive orientation. For more specific introductions, see:
* [[NixOS]]
* [[NixOS]]
Line 17: Line 15:
* [[Nixpkgs]] package repository
* [[Nixpkgs]] package repository
* [[Overview of the Nix Language |Nix Language]]
* [[Overview of the Nix Language |Nix Language]]
If you want to try Nix standalone in another Linux distribution or on a Mac, take your first steps on [https://nix.dev nix.dev].
If you want to try Nix standalone in another Linux distribution or on a Mac, take your first steps on (!error)
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Nix生态中有许多的附加工具,例如:
A lot of people use [[Home Manager]] for managing the contents of their home directory, many use [[Flakes]] instead of the NixOS bi-annually release channels. Both add complexity and you may not even need them. Begin with NixOS, and only integrate Home Manager and/or Flakes into your setup once you're confident with NixOS and comprehend their significance.
 
* Home-manager 用于管理用户配置文件和home目录的内容
* Nix Flakes 用于替代 nix-channel
 
这些功能增加了复杂性,容易让新手感到困惑,您或许可以决定不使用这他们。
从简单的 Nix/NixOS 开始,只有当你足够了解 Nix/NixOS 并得心应手后,才将 Home Manager /Flakes 整合到你的设置中.
}}
}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{home:box|hosting|icon=cloud|Setting up NixOS|
{{home:box|hosting|icon=cloud|Setting up NixOS|
<!-- once ready: * On your computer, with [[NixOS Installation Guide]] -->
<!--准备好后: * 在您的计算机上,使用 [[NixOS Installation Guide]] -->
* On desktop, with [[NixOS as a desktop]]
* 在桌面上,使用 [[NixOS as a desktop]]
* On ARM, with [[NixOS on ARM]]
* ARM 上,使用 [[NixOS on ARM]]
* In the cloud, with [[NixOS friendly hosters]]
* 在云中,使用 [[NixOS friendly hosters]]
}}
}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{home:box|doctopics|icon=manual|Documentation topics|
{{home:box|doctopics|icon=manual|Documentation topics|
First stop should be [[Resources]], which serves as a gateway to the most important documentation. Some highlights below.
第一站应该是 [[Resources]],它是通往最重要文档的门户。以下是一些亮点。
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
主要参考资料:
Primary reference material:
* [https://nixos.org/nixos/manual/ NixOS manual]
* [https://nixos.org/nixos/manual/ NixOS manual]
* [https://nixos.org/nix/manual/ Nix manual]
* [https://nixos.org/nix/manual/ Nix manual]
* [https://nixos.org/nixpkgs/manual/ Nixpkgs manual]
* [https://nixos.org/nixpkgs/manual/ Nixpkgs manual]
* [https://nixos.org/hydra/manual/ Hydra manual]
* [https://nixos.org/hydra/manual/ Hydra manual]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
主要页面类别:
Major page categories:
* [[:{{ns:14}}:Software|Software]]
* [[:{{ns:14}}:Software|Software]]
* [[:{{ns:14}}:Hardware|Hardware]]
* [[:{{ns:14}}:Hardware|Hardware]]
* [[:{{ns:14}}:Desktop|Desktop]] - how to setup PCs
* [[:{{ns:14}}:Desktop|Desktop]] - 如何设置个人电脑
* [[:{{ns:14}}:Server|Server]] - how to setup servers
* [[:{{ns:14}}:Server|Server]] - 如何设置服务器
* [[:{{ns:14}}:Community|Community]] - people, communication, work on NixOS
* [[:{{ns:14}}:Community|Community]] - 人员、沟通、在 NixOS 上工作
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
另请参阅:
See also:
* [[FAQ]]
* [[FAQ]]
* [[Nix vs. Linux Standard Base]]
* [[Nix vs. Linux Standard Base]]
Line 63: Line 55:
* [[Cheatsheet|Cheatsheet / Comparison between Ubuntu and NixOS]]
* [[Cheatsheet|Cheatsheet / Comparison between Ubuntu and NixOS]]
}}
}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{home:box|wikipages|Special pages|3=<ul>
{{home:box|wikipages|Special pages|3=<ul>
<li><span class="plainlinks">[{{fullurl:Special:SpecialPages}} Overview of special pages]</span></li>
<li><span class="plainlinks">[{{fullurl:Special:SpecialPages}} Overview of special pages]</span></li>
Line 81: Line 71:
* [[Support|Get support]]
* [[Support|Get support]]
* [[Get In Touch#Events|Events]]
* [[Get In Touch#Events|Events]]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
(!error)
<b>About the Wiki</b>
* Matrix chat for Wiki contributors [https://matrix.to/#/#wiki:nixos.org #wiki:nixos.org]
* Email [mailto:wiki@nixos.org wiki@nixos.org] for contacting wiki.nixos.org regarding any wiki operational topics or requests
* [[Contributing to the wiki]]
}}
{{home:box|news|News|{{NixOS_Wiki:News}}
[[NixOS_Wiki:News{{!}}... all news articles &rarr;]]
}}
}}
    </div>
</div>
</div>

Latest revision as of 04:44, 9 September 2024

由于未知原因,翻译页面在处理url等内容时会出现未知错误,本页面错误处用(!error)代替

 Getting started

这是官方的 NixOS Wiki。 它包括 NixOS 手册 中未涵盖的主题:NixOS 用户指南、配置示例和故障排除提示.

NixOS 是基于 Nix 包管理器和 Nixpkgs 包存储库的 Linux 操作系统发行版。

Newcomers to NixOS are encouraged to read the Nix Core Ecosystem overview article to get a comprehensive orientation. For more specific introductions, see:

If you want to try Nix standalone in another Linux distribution or on a Mac, take your first steps on (!error)

Nix生态中有许多的附加工具,例如:

  • Home-manager 用于管理用户配置文件和home目录的内容
  • Nix Flakes 用于替代 nix-channel

这些功能增加了复杂性,容易让新手感到困惑,您或许可以决定不使用这他们。 从简单的 Nix/NixOS 开始,只有当你足够了解 Nix/NixOS 并得心应手后,才将 Home Manager 和/或 Flakes 整合到你的设置中.

 Setting up NixOS

 Documentation topics

第一站应该是 Resources,它是通往最重要文档的门户。以下是一些亮点。

主要参考资料:

主要页面类别:

另请参阅:

 Get in touch