mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-09 15:39:44 +00:00
disable wayland
This commit is contained in:
parent
ab52a2353b
commit
0955323166
5 changed files with 10 additions and 10 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
config = lib.mkIf config.hyprland.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
# xwayland.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue