Subject: Re: [bug#62281] [PATCH] home: Add home-xorg-server-service-type.

From: Sergey Trofimov <[email-masked]>
Date: Tue, 21 Mar 2023 22:32:40 +0100

This is not needed. Xorg config should be a part of the 
operating-system and guix already has xorg-server-service-type for 
that. Autostart of sx could be done in the home-environment using 
this code:

(define (sx-autostart-on tty)
  (simple-service
   'sx-autostart home-shell-profile-service-type
   (list (mixed-text-file
          "sx-autostart"
          "[[ ! $DISPLAY && $(tty) == /dev/" tty " ]] && "
          "exec " (@ (gnu packages xdisorg) sx) "/bin/sx"))))