From e16afaca977da80eea136a42dc56e042b1d6c8e3 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 10 Jan 2024 16:27:18 +0800 Subject: [PATCH] programs/gnome-session: change display choice "xorg" to "x11" --- modules/nixos/programs/gnome-session/submodules.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/programs/gnome-session/submodules.nix b/modules/nixos/programs/gnome-session/submodules.nix index 47aa1b1b..8be80ac1 100644 --- a/modules/nixos/programs/gnome-session/submodules.nix +++ b/modules/nixos/programs/gnome-session/submodules.nix @@ -396,13 +396,13 @@ rec { }; display = lib.mkOption { - type = with lib.types; listOf (enum [ "wayland" "xorg" ]); + type = with lib.types; listOf (enum [ "wayland" "x11" ]); description = '' A list of display server protocols supported by the desktop environment. ''; default = [ "wayland" ]; - example = [ "wayland" "xorg" ]; + example = [ "wayland" "x11" ]; }; description = lib.mkOption { @@ -630,7 +630,7 @@ rec { ${hasMoreDisplays "Wayland"} substituteAllInPlace "$DISPLAY_SESSION_FILE" ) ''; - xorg = '' + x11 = '' ( DISPLAY_SESSION_FILE="$out/share/xsessions/${name}.desktop" install -Dm0644 "$displaySessionPath" "$DISPLAY_SESSION_FILE"