summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-25 11:06:40 +0200
committertv <tv@krebsco.de>2016-05-25 11:10:26 +0200
commit8cc3d58514bcc1b3dffbb4ad8446dedfc92939c8 (patch)
tree3586eba338470eb0f7399a71cd5e9326ba203ad1 /tv/2configs
parent26ca19c45279004adf6f6fbc84c8e0db6c40ba56 (diff)
tv xserver: log to journal instead of file
This is a partial backport of NixOS/nixpkgs d84741a.
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xserver/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index 10db7f5..0eafd24 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -95,14 +95,13 @@ in {
++ concatLists (catAttrs "libPath" config.services.xserver.drivers));
};
serviceConfig = {
- SyslogIdentifier = "xserver";
ExecReload = "${pkgs.need-reload}/bin/need-reload xserver.service";
ExecStart = toString [
"${pkgs.xorg.xorgserver}/bin/X"
":${toString config.services.xserver.display}"
"vt${toString config.services.xserver.tty}"
"-config ${import ./xserver.conf.nix args}"
- "-logfile /var/log/X.${toString config.services.xserver.display}.log"
+ "-logfile /dev/null -logverbose 0 -verbose 3"
"-nolisten tcp"
"-xkbdir ${pkgs.xkeyboard_config}/etc/X11/xkb"
];