summaryrefslogtreecommitdiff
path: root/modules/desktops/hyprland/env.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-27 16:39:14 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-27 16:39:14 -0400
commit2e4c4298cf84f94d68387e8076fd430e9968ce6c (patch)
tree2a43fa6d4659fe2585c75aeec3ee4d5e0a42de2e /modules/desktops/hyprland/env.nix
parentfmt (diff)
downloaddotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.tar.gz
dotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.tar.bz2
dotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.zip
refactor
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"
+ ];
+ };
+ };
+}