Hi,
> throws '/mnt/etc/config.scm:40:1 error: invalid field specifier'.
Your config file at line 40 contains this form:
(services (append (list … … some-list))
%base-services)
The format is wrong. What I called “some-list” is this:
(remove (lambda (service)
(eq? (service-kind service) gdm-service-type))
%desktop-services)
This is a list of services. You are nesting lists and that’s not what
“services” accepts. The field only accepts a single list of services.
Another problem is “%base-services”, which is another list. You are
providing two values for the “services” field: one nested list and a
plain list of services (%base-services).
This will work:
(services (append
;; This is a simple list of services. It’s the first
;; argument to “append”.
(list (service dhcp-client-service-type)
(service slim-service-type (slim-configuration
(display ":0")
(vt "vt7")))
(service slim-service-type (slim-configuration
(display ":1")
(vt "vt8"))))
;; This is the second argument to “append”. It’s just a
;; simple list of services, same as %desktop-services but
;; without the gdm-service-type.
(remove (lambda (service)
(eq? (service-kind service) gdm-service-type))
%desktop-services)))
--
Ricardo