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:
parent
a7ad2e3712
commit
405be98069
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue