[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package variation

From: Efraim Flashner
Subject: Re: Package variation
Date: Tue, 23 Oct 2018 10:33:02 +0300
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Oct 23, 2018 at 01:51:21AM -0500, Brett Gilio wrote:
> Hi all,
> I am trying to customize my the default gnome-package which gets
> installed with the gnome-desktop-service.
> My strategy here has been to define a gnome-custom package in my
> config.scm which inherits the gnome package, and remove the dependencies
> that I do not use (such as gedit or nautilus).
> However, I am not successful. Below is my config.scm, does anybody have
> any ideas?
> --
> ;; This is an operating system configuration template
> ;; for a "desktop" setup with GNOME and Xfce where the
> ;; root partition is encrypted with LUKS.
> (use-modules (gnu) (gnu system nss) (guix packages))
> (use-service-modules desktop)
> (use-package-modules certs gnome)
> (define-public gnome-custom
>   (package (inherit gnome)
>     (name "gnome-custom")
>     (inputs (alist-delete "nautilus" (package-inputs gnome)))))
> (define %my-gnome
>   (modify-services %desktop-services
>                  (gnome-desktop-service-type config =>
>                                              (gnome-desktop-configuration
>                                                             (gnome-package 
> gnome-custom)))))
>   ;; Add GNOME and/or Xfce---we can choose at the log-in
>   ;; screen with F1.  Use the "desktop" services, which
>   ;; include the X11 log-in service, networking with
>   ;; NetworkManager, and more.
>   (services (cons* (gnome-desktop-service)
>                    %my-gnome))

Here you still have the default gnome-desktop-service in the list, and
I'd assume you'd have a 50-50 chance of getting the right one when
logging in. I would change it to (untested!):

    (services (cons* (service gnome-desktop-service-type
                              config =>
                                (inherit config)
                                (gnome-package gnome-custom)))

and just remove %my-gnome from above.
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]