all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: Joshua Branson <jbranso@fastmail.com>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Deleting unnecessary services from %desktop-services
Date: Sat, 1 Dec 2018 16:28:27 +0100 (CET)	[thread overview]
Message-ID: <LSeNdbr--3-1@tutanota.com> (raw)
In-Reply-To: <87bm65l5p5.fsf@fastmail.com>

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


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)
                    (modify-services      
                      (remove! (lambda (service)
                        (eq? (service-kind service) 
                               avahi-service-type ntp-service-type ntpd networking))
                        %desktop-services
                      );end of remove
                      (elogind-service-type
                        c => (elogind-configuration (handle-lid-switch 'ignore)))
                    );;end of modify desktop-srvices
  ));;end of services

# guix system reconfigure /etc/config.scm
...
upgrade, and restart each service that was not automatically restarted.
shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
shepherd: Service user-homes could not be started.
shepherd: Service term-auto could not be started.
shepherd: Service wpa-supplicant has been started.
shepherd: Service networking has been started.
shepherd: Service ntpd has been started.
shepherd: Service avahi-daemon has been started.

# herd status
...
 + avahi-daemon
 + networking
 + ntpd


My question is how to remove at all these services: avahi, ntpd, networking. My current config does not fulfill this.

I need only these packages: wpa_supplicant, dhclient, and graphical services from %desktop services. So I need %desktop-services, but want to remove avahi, ntpd and networking from that list.
Would you correct my config?

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

  reply	other threads:[~2018-12-01 15:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-12-01 20:07             ` Ricardo Wurmus
2018-12-02 16:09               ` znavko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LSeNdbr--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    --cc=jbranso@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.