mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:45:59 +01:00
Nix modules: fix environment variables
This commit is contained in:
parent
724fa4a7d4
commit
7e7cb40909
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ in {
|
||||||
++ lib.optional cfg.xwayland.enable pkgs.xwayland;
|
++ lib.optional cfg.xwayland.enable pkgs.xwayland;
|
||||||
|
|
||||||
home.sessionVariables = lib.mkIf cfg.recommendedEnvironment {
|
home.sessionVariables = lib.mkIf cfg.recommendedEnvironment {
|
||||||
GDK_BACKEND = "wayland";
|
GDK_BACKEND = "wayland,x11";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
XCURSOR_SIZE = toString config.home.pointerCursor.size or "24";
|
XCURSOR_SIZE = toString config.home.pointerCursor.size or "24";
|
||||||
|
|
|
@ -47,7 +47,7 @@ in {
|
||||||
systemPackages = lib.optional (cfg.package != null) cfg.package;
|
systemPackages = lib.optional (cfg.package != null) cfg.package;
|
||||||
|
|
||||||
sessionVariables = mkIf cfg.recommendedEnvironment {
|
sessionVariables = mkIf cfg.recommendedEnvironment {
|
||||||
GDK_BACKEND = "wayland";
|
GDK_BACKEND = "wayland,x11";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
|
|
Loading…
Reference in a new issue