disable wayland

This commit is contained in:
Aditya 2024-09-16 10:03:37 +05:30
parent ab52a2353b
commit 0955323166
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
5 changed files with 10 additions and 10 deletions

View file

@ -28,7 +28,7 @@
# Manage session variables
home.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = 1;
NIXOS_OZONE_WL = 1;
# NIXOS_OZONE_WL = 1;
QT_QPA_PLATFORM = "xcb";
};

View file

@ -11,12 +11,12 @@ _: {
# Store git credentials in KDE Wallet
GIT_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
WAYLAND_DISPLAY = "wayland-1";
#WAYLAND_DISPLAY = "wayland-1";
QT_QPA_PLATFORM = "xcb";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";
#QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
#SDL_VIDEODRIVER = "wayland";
#CLUTTER_BACKEND = "wayland";
#MOZ_ENABLE_WAYLAND = "1";
DISPLAY = ":0";
};
}

View file

@ -12,7 +12,7 @@
displayManager = {
sddm = {
enable = true;
wayland.enable = false;
# wayland.enable = false;
};
};
xserver = {
@ -53,6 +53,6 @@
virtiofsd
];
xdg.portal.enable = true;
programs.xwayland.enable = true;
# programs.xwayland.enable = true;
};
}

View file

@ -4,7 +4,7 @@ _: {
localBinInPath = true; # Include ~/.local/bin in $PATH
sessionVariables = {
# tell electron apps to use wayland
NIXOS_OZONE_WL = "1";
# NIXOS_OZONE_WL = "1";
};
};
}

View file

@ -9,7 +9,7 @@
config = lib.mkIf config.hyprland.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
# xwayland.enable = true;
};
};
}