Auto-commit: 2026-01-05 20:20:48
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user