update hyprland config

This commit is contained in:
ant 2024-10-20 17:42:40 +02:00
parent 19bdf8aebb
commit eda53df797

View file

@ -19,9 +19,6 @@
package = if variant == "allegro" then pkgs-24_05.hyprland else pkgs.hyprland; package = if variant == "allegro" then pkgs-24_05.hyprland else pkgs.hyprland;
xwayland.enable = true; xwayland.enable = true;
systemd.enable = true;
systemd.variables = [ "--all" ];
settings = { settings = {
debug = { debug = {
@ -318,12 +315,15 @@
${ # system specific configs ${ # system specific configs
if variant == "default" then '' if variant == "default" then ''
env = GBM_BACKEND,nvidia-drm #env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = WLR_DRM_DEVICES,/dev/dri/card1
# env = AQ_WLR_DEVICES,/dev/dri/card1
# env = AQ_DRM_DEVICES,/dev/dri/card1
'' ''
else if variant == "allegro" then '' else if variant == "allegro" then ''
env = WLR_DRM_DEVICES,/dev/dri/card0 env = WLR_DRM_DEVICES,/dev/dri/card0
env = AQ_WLR_DEVICES,/dev/ri/card0 env = AQ_WLR_DEVICES,/dev/dri/card0
env = AQ_DRM_DEVICES,/dev/dri/card0 env = AQ_DRM_DEVICES,/dev/dri/card0
env = TERMINAL,alacritty env = TERMINAL,alacritty