* Remove network-manager-applet?
@ 2021-04-28 20:13 Frosku
2021-04-29 6:49 ` Efraim Flashner
2021-05-01 3:10 ` Joshua Branson
0 siblings, 2 replies; 4+ messages in thread
From: Frosku @ 2021-04-28 20:13 UTC (permalink / raw)
To: help-guix
I want to remove network-manager-applet from desktop-services to replace
it with https://github.com/firecat53/networkmanager-dmenu, but I can't
seem to work out how to remove it.
Any ideas?
>>= %frosku = { os => 'gnu+linux', editor => 'emacs', coffee => 1 } =<<
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remove network-manager-applet?
2021-04-28 20:13 Remove network-manager-applet? Frosku
@ 2021-04-29 6:49 ` Efraim Flashner
2021-05-01 3:10 ` Joshua Branson
1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2021-04-29 6:49 UTC (permalink / raw)
To: Frosku; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]
On Wed, Apr 28, 2021 at 09:13:55PM +0100, Frosku wrote:
> I want to remove network-manager-applet from desktop-services to replace
> it with https://github.com/firecat53/networkmanager-dmenu, but I can't
> seem to work out how to remove it.
>
> Any ideas?
I have the following in my os-config¹
(remove (lambda (service)
(let ((type (service-kind service)))
(or (memq type
(list
gdm-service-type
modem-manager-service-type
network-manager-service-type
ntp-service-type
screen-locker-service-type))
(eq? 'network-manager-applet
(service-type-name type)))))
(modify-services
%desktop-services
....
¹ https://git.sr.ht/~efraim/guix-config/tree/master/3900XT.scm#L144
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remove network-manager-applet?
2021-04-28 20:13 Remove network-manager-applet? Frosku
2021-04-29 6:49 ` Efraim Flashner
@ 2021-05-01 3:10 ` Joshua Branson
2021-05-01 10:43 ` Frosku
1 sibling, 1 reply; 4+ messages in thread
From: Joshua Branson @ 2021-05-01 3:10 UTC (permalink / raw)
To: Frosku; +Cc: help-guix
"Frosku" <frosku@frosku.com> writes:
> I want to remove network-manager-applet from desktop-services to replace
> it with https://github.com/firecat53/networkmanager-dmenu, but I can't
> seem to work out how to remove it.
>
> Any ideas?
>
I think the guix manual has some examples of the "remove" procedure.
Maybe something like this:
#+BEGIN_SRC scheme
(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
>>>= %frosku = { os => 'gnu+linux', editor => 'emacs', coffee => 1 } =<<
>
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remove network-manager-applet?
2021-05-01 3:10 ` Joshua Branson
@ 2021-05-01 10:43 ` Frosku
0 siblings, 0 replies; 4+ messages in thread
From: Frosku @ 2021-05-01 10:43 UTC (permalink / raw)
To: help-guix
Thanks,
I ended up removing the service, then adding the single component back.
On Fri, Apr 30, 2021 at 11:10:55PM -0400, Joshua Branson wrote:
> "Frosku" <frosku@frosku.com> writes:
>
> > I want to remove network-manager-applet from desktop-services to replace
> > it with https://github.com/firecat53/networkmanager-dmenu, but I can't
> > seem to work out how to remove it.
> >
> > Any ideas?
> >
>
> I think the guix manual has some examples of the "remove" procedure.
>
> Maybe something like this:
>
> #+BEGIN_SRC scheme
> (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
>
> >>>= %frosku = { os => 'gnu+linux', editor => 'emacs', coffee => 1 } =<<
> >
>
> --
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-01 10:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-28 20:13 Remove network-manager-applet? Frosku
2021-04-29 6:49 ` Efraim Flashner
2021-05-01 3:10 ` Joshua Branson
2021-05-01 10:43 ` Frosku
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.