Add guix-home instructions in README

This commit is contained in:
Tom Willemse 2023-03-30 23:11:11 -07:00
parent d4f748f8b0
commit deb7801973
Signed by: ryuslash
GPG key ID: 7D5C407B435025C1

View file

@ -12,3 +12,36 @@ To use this channel (although I dont see why you would want to) add the follo
(openpgp-fingerprint (openpgp-fingerprint
"061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1")))) "061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))
#+end_src #+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