aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-03-30 23:11:11 -0700
committerGravatar Tom Willemse2023-03-30 23:11:11 -0700
commitdeb7801973108c49a83a56b73d5155521e158ed1 (patch)
tree613ed6f221ee6ea3f46aef1e130ed07dd4c2f663 /README.org
parentd4f748f8b0b9e687b83d8e7bf528764ee628e5ee (diff)
downloadguix-packages-deb7801973108c49a83a56b73d5155521e158ed1.tar.gz
guix-packages-deb7801973108c49a83a56b73d5155521e158ed1.zip
Add guix-home instructions in README
Diffstat (limited to 'README.org')
-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