[Top][All Lists]

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

Defining user services in Guix.

From: Mathieu Othacehe
Subject: Defining user services in Guix.
Date: Sat, 22 Apr 2017 18:50:27 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Hi Guix,

I just a wrote a small service for redshift¹. Redshift is a program
adjusting color temperature of the screen according to surroundings.

This program needs to communicate to X, so DISPLAY and XAUTHORITY must
be set correctly.

The only way I found to make my service work is something very hacky:

--8<---------------cut here---------------start------------->8---
(start #~(make-forkexec-constructor
          #:user "mathieu"
          #:group "users"
--8<---------------cut here---------------end--------------->8---

Is there a better way to define this kind of "user" service in Guix ?




reply via email to

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