summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/lightdm.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-08-13 18:39:07 +0200
committerFlorian Klink <flokli@flokli.de>2020-08-13 18:49:15 +0200
commit962e15aebcc433ee64873eff0bab2f022a84988f (patch)
tree3014f3c9272ae2de57b128c101fb9e94b5ceff8d /nixos/modules/services/x11/display-managers/lightdm.nix
parente2eb3289b0a6ed37d3dd9f4c418b0a46ea15f6e4 (diff)
downloadnixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar.gz
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar.bz2
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar.lz
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar.xz
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.tar.zst
nixpkgs-962e15aebcc433ee64873eff0bab2f022a84988f.zip
nixos: remove StandardOutput=syslog, StandardError=syslog lines
Since systemd 243, docs were already steering users towards using
`journal`:

https://github.com/systemd/systemd/commit/eedaf7f322a850c5d9f49346d43420423fc6f593

systemd 246 will go one step further, it shows warnings for these units
during bootup, and will [automatically convert these occurences to
`journal`](https://github.com/systemd/systemd/commit/f3dc6af20f410702beb8e45ddf77e92289fc90c7):

> [    6.955976] systemd[1]: /nix/store/hwyfgbwg804vmr92fxc1vkmqfq2k9s17-unit-display-manager.service/display-manager.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update│······················
 your unit file, and consider removing the setting altogether.

So there's no point of keeping `syslog` here, and it's probably a better
idea to just not set it, due to:

> This setting defaults to the value set with DefaultStandardOutput= in
> systemd-system.conf(5), which defaults to journal.
Diffstat (limited to 'nixos/modules/services/x11/display-managers/lightdm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index 3bee21fa822..143785db0b4 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -253,7 +253,6 @@ in
       KeyringMode = "shared";
       KillMode = "mixed";
       StandardError = "inherit";
-      StandardOutput = "syslog";
     };
 
     environment.etc."lightdm/lightdm.conf".source = lightdmConf;