nixpkgs/nixos/modules/services/monitoring
Franz Pletz 1e95e114e5
nixos/xsession: use graphical systemd user target
While systemd suggests using the pre-defined graphical-session user
target, I found that this interface is difficult to use. Additionally,
no other major distribution, even in their unstable versions, currently
use this mechanism.

The window or desktop manager is supposed to run in a systemd user service
which activates graphical-session.target and the user services that are
binding to this target. The issue is that we can't elegantly pass the
xsession environment to the window manager session, in particular
whereas the PassEnvironment option does work for DISPLAY, it for some
mysterious reason won't for PATH.

This commit implements a new graphical user target that works just like
default.target. Services which should be run in a graphical session just
need to declare wantedBy graphical.target. The graphical target will be
activated in the xsession before executing the window or display manager.

Fixes #17858.
2017-05-29 15:05:28 +02:00
..
dd-agent nixos datadog module: add processConfig option 2017-05-04 13:25:45 +02:00
prometheus Merge pull request #24974 from Ericson2314/mapNullable 2017-04-17 17:12:14 -04:00
apcupsd.nix types.uniq types.bool -> types.bool 2015-06-15 18:10:26 +02:00
arbtt.nix nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
bosun.nix nixos: use types.lines for extraConfig 2016-10-23 19:41:43 +02:00
cadvisor.nix cadviser: add storageDriverPasswordFile option 2017-04-08 14:15:18 +02:00
collectd.nix treewide: use boolToString function 2017-04-11 18:18:53 +02:00
das_watchdog.nix das_watchdog: fix service type 2017-03-09 16:14:17 +01:00
grafana.nix treewide: use boolToString function 2017-04-11 18:18:53 +02:00
graphite.nix graphite service: no recursive chown when starting (#24442) 2017-04-27 17:33:42 +02:00
hdaps.nix New hdapsd module 2016-02-24 21:51:13 +01:00
heapster.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
longview.nix longview service: don't write passwords to nix store 2017-03-26 23:06:42 +01:00
monit.nix monitoring.monit: get closer to upstream service definition 2016-09-13 11:19:22 +02:00
munin.nix nixos/munin: remove duplicated /run/current-system/sw/bin path 2017-04-30 21:04:51 +02:00
nagios.nix nagios service: network-interfaces.target -> network.target 2016-09-13 11:19:22 +02:00
netdata.nix netdata service: init 2016-11-10 16:12:52 +08:00
riemann-dash.nix
riemann-tools.nix riemann-health service: add procps to path (#19237) 2016-10-05 10:52:15 -04:00
riemann.nix java: Normalize to the default jre / jdk 2015-01-07 14:55:41 -08:00
scollector.nix Fixes #16181 - using bin output for Go services 2016-06-13 23:32:16 +02:00
smartd.nix Getting rid of the var indirection and using a bin path instead 2017-01-29 04:11:01 -06:00
statsd.nix nixos/statsd: rename 'host' to 'listenAddress' 2015-12-24 00:20:56 +01:00
sysstat.nix sysstat: Create systemd service for historical sar data 2016-07-12 16:19:40 -05:00
systemhealth.nix
teamviewer.nix teamviewer: init at 11.0.52520, remove older versions 2015-12-03 22:28:36 +03:00
telegraf.nix telegraf: init at 1.0.0 2016-09-14 07:19:55 +02:00
ups.nix ups: fix config generation 2017-04-23 21:35:48 -07:00
uptime.nix
vnstat.nix vnstat: provide full path of "kill" in ExecReload 2017-02-21 09:26:25 +00:00
zabbix-agent.nix nixos: use types.lines for extraConfig 2016-10-23 19:41:43 +02:00
zabbix-server.nix