summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/home/session_vars.nix6
-rw-r--r--home-manager/modules/apps/desktop/hyprland.nix5
2 files changed, 4 insertions, 7 deletions
diff --git a/home-manager/home/session_vars.nix b/home-manager/home/session_vars.nix
index 3ba8a7d..27ef47b 100644
--- a/home-manager/home/session_vars.nix
+++ b/home-manager/home/session_vars.nix
@@ -2,14 +2,8 @@
{
home.sessionVariables = {
EDITOR = "nvim";
- #XDG_SESSION_TYPE = "wayland";
- #GDK_BACKEND = "wayland";
GTK_USE_PORTAL = "1";
- #QT_QPA_PLATFORM = "wayland";
QT_STYLE_OVERRIDE = "kvantum";
QT_QPA_PLATFORM_THEME = "kvantum";
- #QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
- #QT_AUTO_SCREEN_SCALE_FACTOR = "1";
- #MOZ_ENABLE_WAYLAND = "1";
};
}
diff --git a/home-manager/modules/apps/desktop/hyprland.nix b/home-manager/modules/apps/desktop/hyprland.nix
index c2a794e..243f999 100644
--- a/home-manager/modules/apps/desktop/hyprland.nix
+++ b/home-manager/modules/apps/desktop/hyprland.nix
@@ -13,7 +13,9 @@ with lib;
wl-clipboard
];
- # TODO: Place environment variables in ./config/uwsm
+
+ # Environment variables for hyprland.
+ # This can be used to configure wayland/hyprland-specific things
home.file.".config/uwsm/env-hyprland".text = ''
export XDG_SESSION_TYPE=wayland
export GDK_BACKEND=wayland
@@ -24,6 +26,7 @@ with lib;
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export MOZ_ENABLE_WAYLAND=1
+ export -n GTK_IM_MODULE
'';
# Hyprland