From 68ac258b5291aee33dd11a6fd0f545f81935b633 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 17 Jul 2015 15:34:09 +0200 Subject: system: Use the CRDA udev rules. * gnu/services/base.scm (%base-services): Add CRDA to the #:rules of 'udev-service'. * gnu/system/install.scm (installation-services): Likewise. --- gnu/services/base.scm | 4 ++-- gnu/system/install.scm | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index e9e69ea2b8..888e446dc0 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -25,7 +25,7 @@ #:use-module (gnu system linux) ; 'pam-service', etc. #:use-module (gnu packages admin) #:use-module ((gnu packages linux) - #:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils)) + #:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda)) #:use-module ((gnu packages base) #:select (canonical-package glibc)) #:use-module (gnu packages package-management) @@ -884,6 +884,6 @@ This is the GNU operating system, welcome!\n\n"))) ;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is ;; used, so enable them by default. The FUSE and ALSA rules are ;; less critical, but handy. - (udev-service #:rules (list lvm2 fuse alsa-utils))))) + (udev-service #:rules (list lvm2 fuse alsa-utils crda))))) ;;; base.scm ends here diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 1ebfc4bbb3..e7e5d4ae9d 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -274,8 +274,9 @@ You have been warned. Thanks for being so brave. (guix-service #:authorize-hydra-key? #t) ;; Start udev so that useful device nodes are available. - ;; Use device-mapper rules for cryptsetup & co. - (udev-service #:rules (list lvm2)) + ;; Use device-mapper rules for cryptsetup & co; enable the CRDA for + ;; regulations-compliant WiFi access. + (udev-service #:rules (list lvm2 crda)) ;; Add the 'cow-store' service, which users have to start manually ;; since it takes the installation directory as an argument. -- cgit v1.2.3