aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer/services.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-07 21:20:10 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-07 22:23:50 +0200
commit2e55f37c0c8fdfbc413edff61490161648a78dcc (patch)
treee4af97dedacf5c01a59ac38444dbb62cad9f8ed7 /gnu/installer/services.scm
parentecfbc51faac789681549bb2e1b97ca1058c6324d (diff)
downloadguix-2e55f37c0c8fdfbc413edff61490161648a78dcc.tar
guix-2e55f37c0c8fdfbc413edff61490161648a78dcc.tar.gz
installer: Offer NM, Connman, and DHCP to non-desktop installs.
* gnu/installer/services.scm (%system-services): Add NetworkManager, Connman, and the DHCP client. * gnu/installer/newt/services.scm (run-networking-cbt-page): Add 'network-management?' parameter and honor it. (run-services-page): Adjust call accordingly.
Diffstat (limited to 'gnu/installer/services.scm')
-rw-r--r--gnu/installer/services.scm16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm
index cb1ddc8de8..b79c2dfdc9 100644
--- a/gnu/installer/services.scm
+++ b/gnu/installer/services.scm
@@ -69,7 +69,21 @@
(system-service
(name "Tor anonymous network router")
(type 'networking)
- (snippet '(service tor-service-type))))))
+ (snippet '(service tor-service-type)))
+
+ ;; Network connectivity management.
+ (system-service
+ (name "NetworkManager network connection manager")
+ (type 'network-management)
+ (snippet '(service network-manager-service-type)))
+ (system-service
+ (name "Connman network connection manager")
+ (type 'network-management)
+ (snippet '(service connman-service-type)))
+ (system-service
+ (name "DHCP client")
+ (type 'network-management)
+ (snippet '(service dhcp-client-service))))))
(define (desktop-system-service? service)
"Return true if SERVICE is a desktop environment service."