diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-24 21:29:22 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-24 21:46:38 +0200 |
commit | c99608c63808f0fe244fe9619ef6d97bf8a5af6f (patch) | |
tree | 8393853ff70d784c1ce96b0c6039fcaea8a9feba /nixos/modules/testing | |
parent | d84741a4bfb6ed2531ec7154479c147d2c9a737c (diff) | |
download | nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar.gz nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar.bz2 nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar.lz nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar.xz nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.tar.zst nixlib-c99608c63808f0fe244fe9619ef6d97bf8a5af6f.zip |
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.
Diffstat (limited to 'nixos/modules/testing')
-rw-r--r-- | nixos/modules/testing/test-instrumentation.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index f0f56b17f20f..40a40c8a5700 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -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; + }; } |