nixos/gdm: disable wayland when modesetting is disabled
Probably a good idea to have.
This commit is contained in:
parent
9c8181db9b
commit
d41a2e3398
|
@ -216,6 +216,8 @@ in
|
||||||
${optionalString (!cfg.gdm.nvidiaWayland) ''
|
${optionalString (!cfg.gdm.nvidiaWayland) ''
|
||||||
DRIVER=="nvidia", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
DRIVER=="nvidia", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
||||||
''}
|
''}
|
||||||
|
# disable Wayland when modesetting is disabled
|
||||||
|
IMPORT{cmdline}="nomodeset", RUN+="${gdm}/libexec/gdm-disable-wayland"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.user.services.dbus.wantedBy = [ "default.target" ];
|
systemd.user.services.dbus.wantedBy = [ "default.target" ];
|
||||||
|
|
Loading…
Reference in a new issue