all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Deleting unnecessary services from %desktop-services
@ 2018-11-27 19:38 znavko
  2018-11-27 22:46 ` Pierre Neidhardt
  0 siblings, 1 reply; 9+ messages in thread
From: znavko @ 2018-11-27 19:38 UTC (permalink / raw)
  To: Help Guix

[-- Attachment #1: Type: text/plain, Size: 2291 bytes --]

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 <https://lists.gnu.org/archive/html/help-guix/2018-09/msg00079.html> but now my config looks like this:

  (services (cons*  ;;(tor-service)
                    (service postgresql-service-type)
                    (xfce-desktop-service)
                    (modify-services %desktop-services
                        (elogind-service-type
                            c => (elogind-configuration
                                (handle-lid-switch 'ignore)))
                    );;end of moify desktop-srvices
  ));;end of services

When I try function (remove), I have an error

  (services (cons*  ;;(tor-service)
                    (service postgresql-service-type)
                    (xfce-desktop-service)
     (remove (lambda (service)
               (eq? (service-kind service) network-manager-service-type))

                    (modify-services %desktop-services
                        (elogind-service-type
                            c => (elogind-configuration
                                (handle-lid-switch 'ignore)))
                    );;end of moify desktop-srvices
);end of remove
  ));;end of services
# guix system reconfigure /etc/config.scm
/etc/config.scm:86:20: error: remove: unbound variable
hint: Did you forget `(use-modules (srfi srfi-1))'?
And when I add it, guix requires module networking, but adding of it gives:
# guix system reconfigure /etc/config.scm
guix system: error: service 'ntpd' requires 'networking', which is not provided by any service

Is it possible to delete these, and how?

Also, how to rescue my system when I will not have a possibility to use network at all. How then use usb-stick with guixsd and reconfigure my system with my previous config?


[-- Attachment #2: Type: text/html, Size: 4158 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-12-02 16:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 19:38 Deleting unnecessary services from %desktop-services znavko
2018-11-27 22:46 ` Pierre Neidhardt
2018-11-29  7:09   ` znavko
2018-11-30  2:55     ` Ricardo Wurmus
2018-12-01  5:06       ` znavko
2018-12-01 13:47         ` Joshua Branson
2018-12-01 15:28           ` znavko
2018-12-01 20:07             ` Ricardo Wurmus
2018-12-02 16:09               ` znavko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.