File tree 1 file changed +6
-1
lines changed
nixos/modules/system/boot
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 875
875
systemd . services . systemd-remount-fs . restartIfChanged = false ;
876
876
systemd . services . systemd-update-utmp . restartIfChanged = false ;
877
877
systemd . services . systemd-user-sessions . restartIfChanged = false ; # Restart kills all active sessions.
878
- systemd . services . systemd-logind . restartTriggers = [ config . environment . etc . "systemd/logind.conf" . source ] ;
878
+ # Restarting systemd-logind breaks X11
879
+ # - upstream commit: https://cgit.freedesktop.org/xorg/xserver/commit/?id=dc48bd653c7e101
880
+ # - systemd announcement: https://github.com/systemd/systemd/blob/22043e4317ecd2bc7834b48a6d364de76bb26d91/NEWS#L103-L112
881
+ # - this might be addressed in the future by xorg
882
+ #systemd.services.systemd-logind.restartTriggers = [ config.environment.etc."systemd/logind.conf".source ];
883
+ systemd . services . systemd-logind . restartIfChanged = false ;
879
884
systemd . services . systemd-logind . stopIfChanged = false ;
880
885
systemd . services . systemd-journald . restartTriggers = [ config . environment . etc . "systemd/journald.conf" . source ] ;
881
886
systemd . services . systemd-journald . stopIfChanged = false ;
You can’t perform that action at this time.
0 commit comments