gnu: Replace all cons* with beginner-friendly (append (list ...)).

* gnu/system/examples/bare-bones.tmpl (services): Do it.
* gnu/system/examples/beaglebone.tmpl (packages): Do it.
(services): Do it.
* gnu/system/examples/desktop.tmpl (packages): Do it.
(services): Do it.
* gnu/system/examples/lightweight-desktop.tmpl (file-systems): Do it.
(packages): Do it.
* gnu/system/examples/vm-image.tmpl (packages): Do it.
This commit is contained in:
Pierre Neidhardt 2019-01-21 19:37:59 +01:00
parent ece2fd1218
commit 907dd32720
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F
5 changed files with 42 additions and 33 deletions

View file

@ -47,17 +47,20 @@
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
%base-packages))
(packages (append (list
;; for HTTPS access
nss-certs
;; for user mounts
gvfs)
%base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with
;; NetworkManager, and more.
(services (cons* (gnome-desktop-service)
(xfce-desktop-service)
%desktop-services))
(services (append (list (gnome-desktop-service)
(xfce-desktop-service))
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))