Add an option to write the X session log to the journal

... rather than ~/.xsession-errors. It might make sense to make this
the default, in order to eliminate ad hoc, uncentralised, poorly
discoverable log files.
This commit is contained in:
Eelco Dolstra 2016-05-24 21:29:22 +02:00
parent d84741a4bf
commit c99608c638
2 changed files with 21 additions and 1 deletions

View file

@ -113,6 +113,8 @@ let kernel = config.boot.kernelPackages.kernel; in
# Make it easy to log in as root when running the test interactively.
users.extraUsers.root.initialHashedPassword = mkOverride 150 "";
services.xserver.displayManager.logToJournal = true;
};
}