/p>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2019 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
Table of Contents
1 在磁盘空间较小的设备上使用Guix的建议
1.1 使用带有透明压缩的文件系统
将 /gnu 放在带有透明压缩的文件系统上
# 在非Guix System上安装之前:
mkdir /gnu
mkfs.btrfs /dev/sdXX
mount -o compress-force=zstd:15 /dev/sdXX /gnu
;; 在Guix System 的配置文件中
;; 文件系统
(file-systems (append (list
;; Some File system Here
(file-system
(device "/dev/sdXX")
(mount-point "/gnu")
(type "btrfs")
(options "compress-force=zstd:15")) ;; 缓解磁盘不足
)
%base-file-systems))
1.2 经常gc删除掉不需要的内容
guix system delete-generations # 删除旧的系统配置(在非Guix System上运行guix则不需要)
guix gc -d # 删除旧的profile并清理无用内容
Created: 2020-07-27 Mon 09:52
一键复制
编辑
Web IDE
原始数据
按行查看
历史