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
|
# 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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue