unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Joshua Branson <jbranso@dismail.de>
To: znavko--- via <help-guix@gnu.org>
Cc: znavko@disroot.org
Subject: Re: How to remove extension 'network-manager-applet' from 'service profile-service-type'
Date: Sat, 06 Mar 2021 09:01:03 -0500	[thread overview]
Message-ID: <87a6rg755s.fsf@dismail.de> (raw)
In-Reply-To: <f670f2ca91776cae6557e67541d747a7@disroot.org> (znavko's message of "Fri, 05 Mar 2021 23:34:25 +0000")

znavko--- via <help-guix@gnu.org> writes:

> Hello! I use 'xfce-desktop-service-type' in my config.scm
> and xfce service is using 'profile-service-type'.
> Everything was ok while this line not appeared in services/desctop.scm:
>
> 1260:
>  (simple-service 'network-manager-applet
>  profile-service-type
>  (list network-manager-applet))
>
> How can I remove back 'network-manager-applet' extension from profile-service-type
> in my config (in attach)?

Something like this might work:

#+BEGIN_SRC scheme
(use-service-modules
 networking)

(define %my-desktop-services
  (remove (lambda (service)
            (member (service-kind service)
                    (list
                     network-manager-service-type
                     )))
          %desktop-services))

(operating-system
  (services
    (cons* %my-desktop-services)))
#+END_SRC

>
> PS: I dislike networkmanager for it is buggy and slow.
>
>

--
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar


  reply	other threads:[~2021-03-06 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05 23:34 How to remove extension 'network-manager-applet' from 'service profile-service-type' znavko--- via
2021-03-06 14:01 ` Joshua Branson [this message]
2021-03-07  8:55 ` znavko
2021-03-07 18:18 ` jbranso

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87a6rg755s.fsf@dismail.de \
    --to=jbranso@dismail.de \
    --cc=help-guix@gnu.org \
    --cc=znavko@disroot.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).