mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
hyprland gpu fixes
This commit is contained in:
parent
e48a4ba75a
commit
15fa120084
2 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,10 @@
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = lib.mkIf config.userSettings.hyprland.enable {
|
||||||
|
AQ_DRM_DEVICES = lib.mkForce "/dev/dri/card0:/dev/dri/card1";
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable {
|
wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable {
|
||||||
settings = {
|
settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
|
|
|
@ -29,7 +29,6 @@ in
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
AQ_DRM_DEVICES = "/dev/dri/card1:/dev/dri/card0";
|
|
||||||
GDK_BACKEND = "wayland,x11,*";
|
GDK_BACKEND = "wayland,x11,*";
|
||||||
QT_QPA_PLATFORM = "wayland;xcb";
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
|
QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue