Subject: [PATCH] services: greetd: Fix configuration serialization.
From: [email-masked]
To: [email-masked]
Date: Mon, 30 Jan 2023 16:35:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Jelle Licht <[email-masked]>

* gnu/services/base.scm (make-greetd-terminal-configuration-file): Add missing
'general' section to configuration file.
---
 gnu/services/base.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 9e799445d2..8203c1aa35 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -3071,6 +3071,7 @@ (define (make-greetd-terminal-configuration-file config)
        (default-session-command (greetd-default-session-command config)))
     (mixed-text-file
      config-file-name
+     "[general]\n"
      "source_profile = " (if source-profile? "true" "false") "\n"
      "[terminal]\n"
      "vt = " terminal-vt "\n"

base-commit: de2729bd962616c86c4a3c1c29a1eb9cfd7ab199
-- 
2.39.1