Add guix-home instructions in README
This commit is contained in:
parent
d4f748f8b0
commit
deb7801973
1 changed files with 33 additions and 0 deletions
33
README.org
33
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
|
(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
|
||||||
|
|
Loading…
Reference in a new issue