Manage xsession with home-manager

redshift didn't properly work because it couldn't read the DISPLAY environment
variable. I can fix this ad-hoc with `systemctl --user import-environment
DISPLAY`, but home-manager will do this automatically if I allow it to manage my
xsession.
This commit is contained in:
William Carroll 2020-03-10 23:02:30 +00:00
parent a7ad2e3712
commit 405be98069

View file

@ -123,6 +123,11 @@
# Services
##############################################################################
xsession = {
enable = true;
windowManager.command = "dbus-launch --exit-with-session wpcarros-emacs";
};
# Filter blue light from screen after sunset.
services.redshift = {
enable = true;