Hi!
I have the following problem:
I have several onedrive user services and I want them to start at boot, so as the wiki suggests:
https://wiki.nixos.org/wiki/Systemd/User_Services
I enabled lingering:
users.users.jeansib.linger = true;
And changed the “default.target” to “multi-user.target” on my services. (As a side note I should mention that I’ve declared these services in home-manager.) However now these services don’t start neither on boot nor at login:
[jeansib@dell-3:~]$ systemctl --user status onedrive-UMFC.service
○ onedrive-UMFC.service - OneDrive client for Linux running onedrive-UMFC
Loaded: loaded (/home/jeansib/.config/systemd/user/onedrive-UMFC.service; enabled; preset: ignored)
Active: inactive (dead)
[jeansib@dell-3:~]$
I have to manually start them. But I have 7 of them and it becomes tedious.
What is strange I also use syncthing as a home-manager module and I’ve managed to set it to start at boot with:
systemd.user.services.syncthing.Install.WantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
Can you guys help with this?
Best,
Miro