From deb7801973108c49a83a56b73d5155521e158ed1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2023 23:11:11 -0700 Subject: [PATCH] Add guix-home instructions in README --- README.org | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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