Re: Deleting unnecessary services from %desktop-services

2018-12-02 Thread znavko
Hello, Ricardo Wurmus! With your responses I actually could delete avahi and ntp services. Thank you! But the 'networking' service is quite more difficult to configure. Please, what is wrong here:   (packages (cons* nss-certs ;for HTTPS access    gvfs  ;for

Re: Deleting unnecessary services from %desktop-services

2018-12-01 Thread Ricardo Wurmus
zna...@tutanota.com writes: > (remove! (lambda (service) > (eq? (service-kind service) > avahi-service-type ntp-service-type ntpd networking)) > %desktop-services > ) This doesn’t work as you are asking if (service-kind service) is the same as “avahi-service-type” AND “ntp-service-type”

Re: Deleting unnecessary services from %desktop-services

2018-12-01 Thread znavko
Yes, you are right. I do not need all these services: - avahi-daemon , - ntpd, - networking But this config does not remove them:   (services (cons*  ;;(tor-service)     (service postgresql-service-type)     (xfce-desktop-service)    

Re: Deleting unnecessary services from %desktop-services

2018-12-01 Thread Joshua Branson
writes: > Hello, Ricardo Wurmus! ok, thank you. But now I've not achieved what I need. > avahi-damon, ntpd, networking rest in my system. I thought that Pierre answered that for you: > guix system: error: service 'ntpd' requires 'networking', which is not > provided by any service This is

Re: Deleting unnecessary services from %desktop-services

2018-11-30 Thread znavko
Hello, Ricardo Wurmus! ok, thank you. But now I've not achieved what I need. avahi-damon, ntpd, networking rest in my system.   (services (cons*  ;;(tor-service)     (service postgresql-service-type)     (xfce-desktop-service)     (modify-services 

Re: Deleting unnecessary services from %desktop-services

2018-11-30 Thread Ricardo Wurmus
zna...@tutanota.com writes: > Guile Manual says 'remove' returns elements. But I need to remove elements. “remove” does what you want. The “services” field expects a list of services. When using “remove” on a list of services it returns a new list of (possibly fewer) services. That’s

Re: Deleting unnecessary services from %desktop-services

2018-11-28 Thread znavko
Guile Manual says 'remove' returns elements. But I need to remove elements. "remove pred lst remove! pred lstReturn a list containing all elements from lst which do not satisfy the predicate pred. The elements in the result list have the same order as in lst. The order in which pred is applied

Re: Deleting unnecessary services from %desktop-services

2018-11-27 Thread Pierre Neidhardt
To use 'remove' you need to import the srfi-1 module indeed. > guix system: error: service 'ntpd' requires 'networking', which is not > provided by any service This is telling you that you can't have the ntpd service if you remove the network stack, so - either remove ntpd - or add another

Deleting unnecessary services from %desktop-services

2018-11-27 Thread znavko
Hello, Guix Help! Today I have a time to renew my attempts removing networkmanager, cups, avahi-daemon, ntpd. Pierre Neidhardt advised here https://lists.gnu.org/archive/html/help-guix/2018-09/msg00079.html but now my config