summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.org b/init.org
index 4f05193..27ed6c4 100644
--- a/init.org
+++ b/init.org
@@ -155,6 +155,24 @@ I like pretty faces. For coding I like to use the DejaVu Sans Mono font. In =o
(set-face-attribute 'variable-pitch nil :height 1.25 :family "Linux Biolinum")
#+END_SRC
+* Guix
+:PROPERTIES:
+:header-args: :noweb-ref guix
+:END:
+
+Store paths have long hashes. In most cases I don’t really care, so I use =guix-prettify-mode= to hide them.
+
+#+BEGIN_SRC elisp
+ (when (require 'guix-prettify nil t)
+ (global-guix-prettify-mode))
+#+END_SRC
+
+I’m often building Guix packages in the shell. =guix-build-log-minor-mode= gives me key bindings to fold and jump over build phases, and it adds pretty faces to the otherwise bland wall of text.
+
+#+BEGIN_SRC elisp
+ (add-hook 'shell-mode-hook 'guix-build-log-minor-mode)
+#+END_SRC
+
* Manuals
:PROPERTIES:
:header-args: :noweb-ref manuals
@@ -1470,6 +1488,7 @@ Having defined named code blocks in the sections above we can finally put them a
<<manuals>>
<<tramp>>
<<shell>>
+<<guix>>
<<scheme>>
<<god>>
<<email-lazy>>