guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documenting Yubikey setup


From: Martin Becze
Subject: Re: Documenting Yubikey setup
Date: Fri, 29 Nov 2019 17:19:49 -0800

On 2019-11-29 20:15, Pierre Neidhardt wrote:
> To clarify, you can send your article to this mailing list with an
> obvious title (e.g. [BLOG] ...) to get feedback before publishing.

thanks Pierre! Maybe this should go into the cookbook though? I think
ideally it would be a wiki entry. Its one of those things that is easy
from hindsight but not easy to google.

---

For a user to access a Yubikey an udev rule needs to be added. This can
be done by using the udev rules found in libu2f-host package. To use the
rules the following should be added to your config.scm

(use-modules (gnu packages security-token))

...

(define %modified-desktop-services
  (modify-services %minimal-desktop-services
    (udev-service-type
     config =>
     (udev-configuration (inherit config)
                         (rules (cons libu2f-host
                                      (udev-configuration-rules
config)))))))



Reference 
https://guix.gnu.org/manual/en/html_node/Base-Services.html

---

Of course there is more to say about yubikey but this is all I needed
for now. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]