Skip to content

Commit

Permalink
Fix sessions with sddm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karn Kallio authored and benley committed Feb 12, 2017
1 parent 939c846 commit 8a1fcaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/services/x11/display-managers/default.nix
Expand Up @@ -32,6 +32,9 @@ let
''
#! ${pkgs.bash}/bin/bash
# Handle being called by SDDM.
if test "''${1:0:1}" = / ; then eval exec $1 $2 ; fi
${optionalString cfg.displayManager.logToJournal ''
if [ -z "$_DID_SYSTEMD_CAT" ]; then
_DID_SYSTEMD_CAT=1 exec ${config.systemd.package}/bin/systemd-cat -t xsession -- "$0" "$@"
Expand Down

0 comments on commit 8a1fcaf

Please sign in to comment.