nixos/sddm: allow disabling the rest of X11

This commit is contained in:
K900 2024-04-10 16:35:17 +03:00
parent d50ce37b58
commit ab0b45a3a0

View file

@ -66,7 +66,7 @@ let
HideShells = "/run/current-system/sw/bin/nologin"; HideShells = "/run/current-system/sw/bin/nologin";
}; };
X11 = { X11 = optionalAttrs xcfg.enable {
MinimumVT = if xcfg.tty != null then xcfg.tty else 7; MinimumVT = if xcfg.tty != null then xcfg.tty else 7;
ServerPath = toString xserverWrapper; ServerPath = toString xserverWrapper;
XephyrPath = "${pkgs.xorg.xorgserver.out}/bin/Xephyr"; XephyrPath = "${pkgs.xorg.xorgserver.out}/bin/Xephyr";