On Tue, Feb 23, 2016 at 10:18:45PM +0100, Jan Nieuwenhuizen wrote: > (services > (cons* (console-keymap-service "dvorak") > ;;(dhcp-client-service) > (lsh-service #:port-number 2222 > #:allow-empty-passwords? #t > #:root-login? #t) > %desktop-services)) > > Uncommenting (dhcp-client-service) gives the error > > guix system: error: service 'networking' provided more than once > > but having it commented-out like this I cannot login with ssh to the > vm...and I cannot investigate what may have triggered the opaque error > message...puzzled
This is due to the fact that %desktop-services includes wicd-service. Somewhere in the current documentation there is a paragraph that explains how to delete a service from a list of services (which is a bit more complicated than just removing a fixed variable, and amounts to checking the type of a service), but I have trouble finding it again. Ah, one needs to iterate over the services s in the list and test (eq? (service-kind s) some-service-type). Andreas