vm-image: Remove 'network-manager-applet' from system profile.
authorLudovic Courtès <ludo@gnu.org>
Thu, 16 May 2019 12:37:23 +0000 (14:37 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 16 May 2019 12:37:23 +0000 (14:37 +0200)
This is a followup to 05d907ac6fc6e139389a91ab5540c0dc573a8ce7.

* gnu/system/examples/vm-image.tmpl (services): Remove
'network-manager-applet'.

gnu/system/examples/vm-image.tmpl

index 0dbd31f..1ba47a1 100644 (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