Systemd user services and sddm

I just set up a systemd user service for syncthing. After reboot I was very surprised to see two instances running: One for sddm and one for my user.
Is there any way to prevent sddm from running this user service?

1 Like

My workaround so far:

      ExecStartPre = pkgs.writeScript "check-user" ''
        set -euo pipefail
        [ "$(id -un)" != "sddm" ]

The proper way: = “!@system”;