From 1978d0045889689d3fa8f7bb686a54dd08de95d0 Mon Sep 17 00:00:00 2001 From: Kirill Boltaev Date: Wed, 5 Oct 2016 00:03:39 +0300 Subject: [PATCH] sddm: wrap xserver in systemd-cat to make logs appear in the journal --- nixos/modules/services/x11/display-managers/sddm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/display-managers/sddm.nix b/nixos/modules/services/x11/display-managers/sddm.nix index 4d2ddedca1ea..c79893e77aa6 100644 --- a/nixos/modules/services/x11/display-managers/sddm.nix +++ b/nixos/modules/services/x11/display-managers/sddm.nix @@ -14,7 +14,7 @@ let xserverWrapper = pkgs.writeScript "xserver-wrapper" '' #!/bin/sh ${concatMapStrings (n: "export ${n}=\"${getAttr n xEnv}\"\n") (attrNames xEnv)} - exec ${dmcfg.xserverBin} ${dmcfg.xserverArgs} "$@" + exec systemd-cat ${dmcfg.xserverBin} ${dmcfg.xserverArgs} "$@" ''; Xsetup = pkgs.writeScript "Xsetup" ''