diff options
| -rw-r--r-- | README.org | 35 |
1 files changed, 33 insertions, 2 deletions
| @@ -193,9 +193,40 @@ required, it is recommended to stay with Linux LTS releases: | |||
| 193 | ...) | 193 | ...) |
| 194 | #+END_SRC | 194 | #+END_SRC |
| 195 | 195 | ||
| 196 | ** Avoiding kernel recompilation | 196 | ** Substitutes for nonguix |
| 197 | 197 | ||
| 198 | Since prebuilt substitutes are not currently available for Nonguix, you may find | 198 | A Nonguix substitute server is available at [[https://substitutes.nonguix.org]]. |
| 199 | On Guix System, you can add and authorize this URL in the following way: | ||
| 200 | #+BEGIN_SRC scheme | ||
| 201 | (operating-system | ||
| 202 | (services (modify-services %desktop-services | ||
| 203 | (guix-service-type config => (guix-configuration | ||
| 204 | (inherit config) | ||
| 205 | (substitute-urls | ||
| 206 | (append (list "https://substitutes.nonguix.org") | ||
| 207 | %default-substitute-urls)) | ||
| 208 | (authorized-keys | ||
| 209 | (append (list (local-file "./signing-key.pub")) | ||
| 210 | %default-authorized-guix-keys)))))) | ||
| 211 | ...) | ||
| 212 | #+END_SRC | ||
| 213 | |||
| 214 | Notice that the URL of the server should be specified without a trailing | ||
| 215 | slash. The file ~signing-key.pub~ should be downloaded directly from | ||
| 216 | [[https://substitutes.nonguix.org/signing-key.pub]]. | ||
| 217 | |||
| 218 | Alternatively, you can use replace ~(local-file "./signing-key.pub")~ by: | ||
| 219 | #+BEGIN_SRC scheme | ||
| 220 | (plain-file "non-guix.pub" | ||
| 221 | "<contents of signing-key.pub>") | ||
| 222 | #+END_SRC | ||
| 223 | |||
| 224 | Check out the [[https://guix.gnu.org/manual/en/html_node/Substitutes.html][chapter on substitutes]] | ||
| 225 | in the Guix manual for more details. | ||
| 226 | |||
| 227 | ** Pinning package versions | ||
| 228 | |||
| 229 | When using substitutes is not an option, you may find | ||
| 199 | that ~guix system reconfigure~ recompiles the kernel frequently due to version | 230 | that ~guix system reconfigure~ recompiles the kernel frequently due to version |
| 200 | bumps in the kernel package. An inferior can be used to pin the kernel version | 231 | bumps in the kernel package. An inferior can be used to pin the kernel version |
| 201 | and avoid lengthy rebuilds. | 232 | and avoid lengthy rebuilds. |
