summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-03-09 11:09:43 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-03-09 11:09:43 +0100
commit32f118507c81c72407936c0638a0306d4512e346 (patch)
tree7702d6b97fd75b0e0eb25be5b29bf0d9167a7a18
parent1ba51527f4bed2cbee2f217acf3bbc1aa5822b6d (diff)
Remove ModemManager
-rw-r--r--config.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/config.scm b/config.scm
index b605b33..47641f1 100644
--- a/config.scm
+++ b/config.scm
@@ -1,6 +1,7 @@
;; This is an operating system configuration generated
;; by the graphical installer.
(use-modules (gnu)
+ (srfi srfi-1)
(nongnu packages linux)
(nongnu system linux-initrd))
(use-service-modules desktop networking ssh xorg)
@@ -63,9 +64,15 @@
"bluez"))
%base-packages))
- (services (append (list (service gnome-desktop-service-type)
- (bluetooth-service #:auto-enable? #t)
- (set-xorg-configuration
- (xorg-configuration
- (keyboard-layout keyboard-layout))))
- %desktop-services)))
+ (services (append (list (service gnome-desktop-service-type)
+ (bluetooth-service #:auto-enable? #t)
+ (set-xorg-configuration (xorg-configuration
+ (keyboard-layout
+ keyboard-layout))))
+ ; Removes ModemManager because it interferes with USB
+ ; development. If using a 3/4G modem or something we have
+ ; to activate it.
+ (remove (lambda (x) (eqv? (service-type-name
+ (service-kind x))
+ 'modem-manager))
+ %desktop-services))))