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 # Manage session variables
home.sessionVariables = { home.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = 1; NIXPKGS_ALLOW_UNFREE = 1;
NIXOS_OZONE_WL = 1; # NIXOS_OZONE_WL = 1;
QT_QPA_PLATFORM = "xcb"; QT_QPA_PLATFORM = "xcb";
}; };

View file

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

View file

@ -12,7 +12,7 @@
displayManager = { displayManager = {
sddm = { sddm = {
enable = true; enable = true;
wayland.enable = false; # wayland.enable = false;
}; };
}; };
xserver = { xserver = {
@ -53,6 +53,6 @@
virtiofsd virtiofsd
]; ];
xdg.portal.enable = true; 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 localBinInPath = true; # Include ~/.local/bin in $PATH
sessionVariables = { sessionVariables = {
# tell electron apps to use wayland # 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 { config = lib.mkIf config.hyprland.enable {
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
xwayland.enable = true; # xwayland.enable = true;
}; };
}; };
} }