Subject: [bug#78309] [PATCH 1/2] system: Only add guix artwork on a desktop system.

From: Efraim Flashner <[email-masked]>
Date: Thu, 8 May 2025 11:12:31 +0300

On Thu, May 08, 2025 at 03:40:39PM +0900, Maxim Cournoyer wrote:
> Hi Efraim,
> 
> Efraim Flashner <[email-masked]> writes:
> 
> > * gnu/system.scm (%base-packages): Remove %base-packages-artwork.
> > * gnu/services/desktop.scm (desktop-services-for-system): Add
> > guix-artwork profile service.
> 
> [...]
> 
> > +         ;; Add some of the artwork niceties for the desktop.
> > +         (simple-service 'guix-artwork
> > +                         profile-service-type
> > +                         %base-packages-artwork)
> > +
> >           ;; This is a volatile read-write file system mounted at /var/lib/gdm,
> >           ;; to avoid GDM stale cache and permission issues.
> >           gdm-file-system-service
> > diff --git a/gnu/system.scm b/gnu/system.scm
> > index bc652b1ce59..2f87b99fce3 100644
> > --- a/gnu/system.scm
> > +++ b/gnu/system.scm
> > @@ -982,8 +982,7 @@ (define-deprecated %base-packages-disk-utilities #f '())
> >  (define %base-packages
> >    ;; Default set of packages globally visible.  It should include anything
> >    ;; required for basic administrator tasks.
> > -  (append %base-packages-artwork
> > -          %base-packages-interactive
> 
> I was wondering, aren't the artwork also use to provide a nicer GRUB
> background?  That's maybe not super important for servers, but I thought
> I'd point it out.

guix-icons, currently the only package in %base-packages-artwork,
provides a nice square guix icon.  The bootloaders and login managers
which use the backgrounds from the artwork repository grab their images
directly from the %artwork-repository.  The guix-backgrounds package
takes the %artwork-repository and extracts the desktop backgrounds from
it to make it easier to use them for desktops.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted