[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to remove extension 'network-manager-applet' from 'service prof
From: |
znavko |
Subject: |
Re: How to remove extension 'network-manager-applet' from 'service profile-service-type' |
Date: |
Sun, 07 Mar 2021 08:55:55 +0000 |
Hello, Joshua!
No, sorry. network-manager-applet is an extension of
profile-service-type
that is included in xfce-service-type in desctop.scm.
Though I remove network-manager from %desktop-services
(I already done it in attached config)
but it pervades into my system
as far as network-manager-applet is included
in profile-service-type (that s part of xfce-service-type)
and network-manager-applet requires network-manager.
My trouble is that there are two places where
'profile-service-type' is affected:
1. in xfce-service-type definition it is just only including
2. in %desktop-services it is extended with network-manager-applet
I think I need somehow to remove
network-manager-applet
from profile-service-type
How to do it?
Here it is 'xfce-desktop-service-type' definition:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n980
Here netwok-manager-applet is included into profile-service-type:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260
March 6, 2021 5:01 PM, "Joshua Branson" <jbranso@dismail.de> wrote:
> 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