mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 09:34:00 +05:30
Fixes for work computer
This commit is contained in:
parent
d5a354a0df
commit
1b6bdc9790
4 changed files with 30 additions and 50 deletions
|
@ -29,7 +29,7 @@ in
|
|||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
WLR_DRM_DEVICES = "/dev/dri/card2:/dev/dri/card1";
|
||||
AQ_DRM_DEVICES = "/dev/dri/card2:/dev/dri/card1";
|
||||
GDK_BACKEND = "wayland,x11,*";
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
|
||||
|
@ -51,6 +51,9 @@ in
|
|||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
plugins = [ ];
|
||||
settings = {
|
||||
env = [
|
||||
"AQ_DRM_DEVICES,${config,home.sessionVariables.AQ_DRM_DEVICES}"
|
||||
];
|
||||
exec-once = [
|
||||
"hyprctl setcursor ${config.gtk.cursorTheme.name} ${builtins.toString config.gtk.cursorTheme.size}"
|
||||
"hyprpaper"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue