FAQ/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "Category:Cookbook"
Tags: Mobile edit Mobile web edit
Ardenet (talk | contribs)
Created page with "切换到指定世代:"
Line 3: Line 3:
为了避免重复回答那些经常被问到的问题以及处理新手常遇到的麻烦,这些问题被收录在这里。
为了避免重复回答那些经常被问到的问题以及处理新手常遇到的麻烦,这些问题被收录在这里。


<div lang="en" dir="ltr" class="mw-content-ltr">
http://unix.stackexchange.com/questions/tagged/nixos 也可用于提问。
http://unix.stackexchange.com/questions/tagged/nixos can also be used for questions.
</div>


<span id="Why_is_there_a_new_wiki?_What_is_with_nixos.wiki?"></span>
<span id="Why_is_there_a_new_wiki?_What_is_with_nixos.wiki?"></span>
Line 117: Line 115:
</syntaxhighlight>
</syntaxhighlight>


<div class="mw-translate-fuzzy">
回滚到上一代的方法:
<syntaxhighlight lang="bash">
nix-env --list-generations -p /nix/var/nix/profiles/per-user/root/channels
18  2014-04-17 09:16:28
19  2014-06-13 10:31:24
20  2014-08-12 19:09:20  (current)
</syntaxhighlight>
回滚到上一代的方法如下
</div>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 132: Line 122:
</syntaxhighlight>
</syntaxhighlight>


<div lang="en" dir="ltr" class="mw-content-ltr">
切换到指定世代:
To switch to a particular generation:
</div>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">