vm-image: Remove 'network-manager-applet' from system profile.

This is a followup to 05d907ac6f.

* gnu/system/examples/vm-image.tmpl (services): Remove
'network-manager-applet'.
This commit is contained in:
Ludovic Courtès 2019-05-16 14:37:23 +02:00
parent fbeb92d760
commit fc0680929d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 4 deletions

View File

@ -96,10 +96,13 @@ root ALL=(ALL) ALL
;; sense in a VM.
(remove (lambda (service)
(let ((type (service-kind service)))
(memq type (list gdm-service-type
wpa-supplicant-service-type
cups-pk-helper-service-type
network-manager-service-type))))
(or (memq type
(list gdm-service-type
wpa-supplicant-service-type
cups-pk-helper-service-type
network-manager-service-type))
(eq? 'network-manager-applet
(service-type-name type)))))
(modify-services %desktop-services
(login-service-type config =>
(login-configuration