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
commit82220a1fc4a4fa4de21b33f5ce0591b2b859474a (patch)
treed4b7df83f09ca176804539316a1d8254f97e44ce /tv/2configs
parentb4ca66d23ab27f742d49057f28b7b4e03d7dfabe (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 10db7f57d..0eafd246b 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"
];