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.
This commit is contained in:
Robert Helgesson 2024-12-04 12:38:17 +01:00
parent 30f66eaa32
commit b1c19f1dcb
Failed to generate hash of commit

View file

@ -174,7 +174,7 @@ in {
}
(mkIf cfg.x11.enable {
xsession.initExtra = ''
xsession.profileExtra = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
toString cfg.size
}