NixOS/zh: Difference between revisions
Created page with "<syntaxHighlight lang=shell> # 删除早于 30 天前的世代 $ nix-collect-garbage --delete-older-than 30d" |
Created page with "# 删除之前的所有世代 - 运行此命令后您将无法回滚 $ nix-collect-garbage -d </syntaxHighlight>" |
||
Line 171: | Line 171: | ||
$ nix-collect-garbage --delete-older-than 30d | $ nix-collect-garbage --delete-older-than 30d | ||
# 删除之前的所有世代 - 运行此命令后您将无法回滚 | |||
# | |||
$ nix-collect-garbage -d | $ nix-collect-garbage -d | ||
</syntaxHighlight> | </syntaxHighlight> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |