all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* udev-rules for my FST-01 gnuk security token
@ 2018-07-13 22:24 Arun Isaac
  2018-07-19  6:57 ` Chris Marusich
  0 siblings, 1 reply; 10+ messages in thread
From: Arun Isaac @ 2018-07-13 22:24 UTC (permalink / raw)
  To: help-guix


I am trying to get my FST-01 gnuk security token working on
GuixSD. According to their documentation
(https://www.fsij.org/doc-gnuk/udev-rules.html), I need to add a custom
udev-rule. I am trying to use the configuration shown below to achieve
the same. But, I don't see any file by the name "60-gnupg.rules" created
in my /run/current-system/profile/lib/udev/rules.d/. Am I doing
something wrong or is my expectation incorrect? Has anyone successfully
used a FST-01 gnuk security token in GuixSD?

(use-modules (gnu))

(define %gnuk-udev-rule
  (udev-rule
   "60-gnupg.rules"
   "ATTR{idVendor}==\"234b\", ATTR{idProduct}==\"0000\", ENV{ID_SMARTCARD_READER}=\"1\", ENV{ID_SMARTCARD_READER_DRIVER}=\"gnupg\""))

(operating-system
 (host-name "adamantium")
 (timezone "Asia/Kolkata")
 (locale "en_US.utf8")
 (bootloader (bootloader-configuration
	      (bootloader grub-bootloader)
	      (target "/dev/sda")))
 (file-systems (cons (file-system
		      (device "my-root")
		      (mount-point "/")
		      (type "ext4"))
		     %base-file-systems))
 (users %base-user-accounts)
 (packages %base-packages)
 (services
  (modify-services %base-services
		   (udev-service-type
		    config =>
		    (udev-configuration
		     (inherit config)
		     (rules
		      (append (udev-configuration-rules config)
			      (list %gnuk-udev-rule))))))))

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-08-03 12:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 22:24 udev-rules for my FST-01 gnuk security token Arun Isaac
2018-07-19  6:57 ` Chris Marusich
2018-07-25  5:09   ` Chris Marusich
2018-07-25 10:31     ` Pierre Neidhardt
2018-07-26  3:54       ` Chris Marusich
2018-07-27 14:37     ` Arun Isaac
2018-07-27 19:56       ` Pierre Neidhardt
2018-07-29 14:22         ` Arun Isaac
2018-07-29 15:07         ` Arun Isaac
2018-08-03 12:30           ` Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.