summary refs log tree commit diff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-05-13 10:43:57 +0200
committerBrice Waegeneire <brice@waegenei.re>2020-05-14 15:54:09 +0200
commitaee7d000f81685a6383189d3b8f173dc4ff0a670 (patch)
treef8e6289ad4527df3bb962e0fe2c2963d9c12e2d2 /gnu/packages/radio.scm
parent85eed078ff7b8a7a9f648f7cd72dfac8851609bc (diff)
downloadguix-aee7d000f81685a6383189d3b8f173dc4ff0a670.tar.gz
gnu: rtl-sdr: Simplify installation instructions.
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm13
1 files changed, 2 insertions, 11 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 41105fb8c5..1e50be1bcc 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -152,17 +152,8 @@ system configuration:
 (kernel-arguments '(\"modprobe.blacklist=dvb_usb_rtl28xxu\"))
 @end lisp
 
-To install the rtl-sdr udev rules, you must add this package in the
-configuration of the udev system service. E.g.:
-
-@lisp
-(services
- (modify-services %desktop-services
-  (udev-service-type config =>
-   (udev-configuration (inherit config)
-    (rules (cons rtl-sdr
-            (udev-configuration-rules config)))))))
-@end lisp")
+To install the rtl-sdr udev rules, you must extend 'udev-service-type' with
+this package.  E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
     (license license:gpl2+)))
 
 (define-public chirp