Auto-commit: 2026-01-05 20:20:48

This commit is contained in:
2026-01-05 20:20:48 +00:00
parent d4ed4128f7
commit 359aa59ac7

View File

@@ -1,6 +1,6 @@
{ nixosConfig, lib, ... }: { nixosConfig, lib, ... }:
{ {
xdg.configFile."uwsm/env".text = '' xdg.configFile."uwsm/env".text = lib.mkIf nixosConfig.my.desktop.enable ''
export GDK_BACKEND=wayland,x11,* export GDK_BACKEND=wayland,x11,*
export GDK_SCALE=2 # GDK Scaling Factor (no fractional scaling) export GDK_SCALE=2 # GDK Scaling Factor (no fractional scaling)
@@ -36,7 +36,7 @@ export XCURSOR_SIZE=16
${lib.optionalString nixosConfig.my.desktop.hyprland.enable "export XDG_SESSION_DESKTOP=Hyprland"} ${lib.optionalString nixosConfig.my.desktop.hyprland.enable "export XDG_SESSION_DESKTOP=Hyprland"}
''; '';
xdg.configFile."uwsm/env-hyprland".text = lib.optionalString nixosConfig.my.desktop.hyprland.enable '' xdg.configFile."uwsm/env-hyprland".text = lib.mkIf nixosConfig.my.desktop.hyprland.enable ''
export AQ_DRM_DEVICES=/dev/dri/nvidia-dgpu export AQ_DRM_DEVICES=/dev/dri/nvidia-dgpu
''; '';
} }