aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.org33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.org b/README.org
index 22b2a80..67932a6 100644
--- a/README.org
+++ b/README.org
@@ -12,3 +12,36 @@ To use this channel (although I don’t see why you would want to) add the follo
(openpgp-fingerprint
"061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))
#+end_src
+
+Or, if you're using Guix Home to configure your user profile, you can do it like this:
+
+#+begin_src scheme
+ (use-modules ((gnu home services guix)
+ #:select (home-channels-service-type))
+ ((gnu home)
+ #:select (home-environment))
+ ((gnu services)
+ #:select (simple-service))
+ ((guix channels)
+ #:select (channel
+ make-channel-introduction
+ openpgp-fingerprint)))
+
+ (home-environment
+ (services
+ (list
+ (simple-service
+ 'my-channel-service
+ home-channels-service-type
+ (list
+ (channel
+ (name 'oni)
+ (url "https://code.ryuslash.org/ryuslash/guix-packages.git")
+ (introduction
+ (make-channel-introduction
+ "646573578b7adfbff415645fed201269076cebf6"
+ (openpgp-fingerprint
+ "061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))))))
+ ;; ...
+ )
+#+end_src