From b1c19f1dcbc2429c16d5e6259dbff4f12dd8a89d Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 4 Dec 2024 12:38:17 +0100 Subject: [PATCH] home-cursor: use `profileExtra` instead of `initExtra` The initExtra code is executed after systemd graphical-session.target starts, which means graphical applications started by graphical-session.target cannot get these X settings. --- modules/config/home-cursor.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/home-cursor.nix b/modules/config/home-cursor.nix index 0a8fb378b..42c259455 100644 --- a/modules/config/home-cursor.nix +++ b/modules/config/home-cursor.nix @@ -174,7 +174,7 @@ in { } (mkIf cfg.x11.enable { - xsession.initExtra = '' + xsession.profileExtra = '' ${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${ toString cfg.size }