~ruther/guix-local

7562b50c02eae16ae917999a4988aa0ab15f1354 — Rutherther 7 months ago aec2a05
services: greetd: Accept gexps in initial-session.

Recently initial-session-user and initial-session-command has been
added, but they accept only strings, not gexps.

* gnu/services/base.scm (make-greetd-terminal-configuration-file):
Ungexp initial-session-user and initial-session-command.

Change-Id: I2b247464528b6147eab8acea08c6942ac7bfd0ab
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 4 insertions(+), 4 deletions(-)

M gnu/services/base.scm
M gnu/services/base.scm => gnu/services/base.scm +4 -4
@@ 3986,10 3986,10 @@ to handle."
     "user = " default-session-user "\n"
     "command = " default-session-command "\n"
     (if (and initial-session-user initial-session-command)
         (string-append
          "[initial_session]\n"
          "user = " initial-session-user "\n"
          "command = " initial-session-command "\n")
         #~(string-append
            "[initial_session]\n"
            "user = " #$initial-session-user "\n"
            "command = " #$initial-session-command "\n")
         ""))))

(define %greetd-file-systems