summaryrefslogtreecommitdiff
path: root/modules/desktops/hyprland/env.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktops/hyprland/env.nix')
-rw-r--r--modules/desktops/hyprland/env.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/desktops/hyprland/env.nix b/modules/desktops/hyprland/env.nix
new file mode 100644
index 0000000..7ff3eb7
--- /dev/null
+++ b/modules/desktops/hyprland/env.nix
@@ -0,0 +1,12 @@
+{config,...}: {
+ home-manager.users.${config.user} = {
+ wayland.windowManager.hyprland.settings = {
+ env = [
+ "XDG_CURRENT_DESKTOP,Hyprland"
+ "XDG_SESSION_TYPE,wayland"
+ "XDG_SESSION_DESKTOP,Hyprland"
+ "MOZ_ENABLE_WAYLAND,1"
+ ];
+ };
+ };
+}