all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* seatd-service-type
@ 2022-02-11 11:59 Josua Stingelin
  2022-02-11 13:10 ` seatd-service-type Josselin Poiret
  0 siblings, 1 reply; 6+ messages in thread
From: Josua Stingelin @ 2022-02-11 11:59 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

Hi Guix,

I'm running a wayland based system and use the sway window manager.
Sway supports the seat daemon (seatd) as an alternative to elogind.

Are you interested in a patch to provide the seatd as a service?

If yes please give me feedback about what needs to change in the following
definitions to be accepted upstream. I suppose a git-patch per mail would be
the way to contribute?


  (define seatd-shepherd-service
    (match-lambda
      ('()
       (list (shepherd-service
               (provision '(seatd))
               (documentation "Run the seat deamon (seatd)")
               (requirement '(user-processes))
               (start #~(make-forkexec-constructor
                          (list #$(file-append seatd "/bin/seatd")
                                "-g" "users")))
               (stop #~(make-kill-destructor)))))))
  (define seatd-service-type
    (service-type
      (name 'seatd)
      (extensions
        (list (service-extension shepherd-root-service-type
                                 seatd-shepherd-service)))
      (default-value '())
      (description "Run the seat daemon (seatd))")))


Kind Regards,
Josua a.k.a Joshua/Josh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-19 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 11:59 seatd-service-type Josua Stingelin
2022-02-11 13:10 ` seatd-service-type Josselin Poiret
2022-02-14  9:08   ` seatd-service-type Declan
2022-02-16 15:38     ` seatd-service-type Josua Stingelin
2022-02-17  5:39       ` seatd-service-type Declan Qian
2022-02-19 17:34         ` seatd-service-type Josua Stingelin

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.