From 0db9c2ae4d36344f7a4a520aaf6ca1264d46b661 Mon Sep 17 00:00:00 2001
From: rycee
Default: Declared by: Whether to enable Whether to enable Type:
+and D-Bus user environment before reaching the target, including Type:
boolean Default:
+ Example:
Declared by: Extra commands to be run after D-Bus activation. Type:
+list of string Default: Declared by: Environment variables to be imported in the systemd & D-Bus user
+environment. Type:
+list of string Default: Example: Declared by: Whether to enable XWayland. Type:
boolean Default:
Example:
<home-manager/modules/services/window-managers/hyprland.nix>
-
wayland.windowManager.hyprland.systemdIntegration
hyprland-session.target
on
+wayland.windowManager.hyprland.systemd.enable
hyprland-session.target
on
hyprland startup. This links to graphical-session.target
.
Some important environment variables will be imported to systemd
-and dbus user environment before reaching the target, includingDISPLAY
HYPRLAND_INSTANCE_SIGNATURE
WAYLAND_DISPLAY
XDG_CURRENT_DESKTOP
DISPLAY
HYPRLAND_INSTANCE_SIGNATURE
WAYLAND_DISPLAY
XDG_CURRENT_DESKTOP
true
true
<home-manager/modules/services/window-managers/hyprland.nix>
+
wayland.windowManager.hyprland.systemd.extraCommands
[
+ "systemctl --user stop hyprland-session.target"
+ "systemctl --user start hyprland-session.target"
+]
+
+<home-manager/modules/services/window-managers/hyprland.nix>
+
wayland.windowManager.hyprland.systemd.variables
[
+ "DISPLAY"
+ "HYPRLAND_INSTANCE_SIGNATURE"
+ "WAYLAND_DISPLAY"
+ "XDG_CURRENT_DESKTOP"
+]
+
[
+ "-all"
+]
+
+<home-manager/modules/services/window-managers/hyprland.nix>
wayland.windowManager.hyprland.xwayland.enable
true