From 95c988cf08e9a5a8fe7cc275d5e3f24e9e87bd51 Mon Sep 17 00:00:00 2001 From: He Zhenxing Date: Thu, 29 May 2025 11:39:21 +0800 Subject: [PATCH] xsession: add xdg-desktop-autostart to requires of hm-graphical-session (#7108) --- modules/xsession.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/xsession.nix b/modules/xsession.nix index dd618dbee..c980a00f3 100644 --- a/modules/xsession.nix +++ b/modules/xsession.nix @@ -188,7 +188,10 @@ in hm-graphical-session = { Unit = { Description = "Home Manager X session"; - Requires = [ "graphical-session-pre.target" ]; + Requires = [ + "graphical-session-pre.target" + "xdg-desktop-autostart.target" + ]; BindsTo = [ "graphical-session.target" "tray.target"