1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

syncthing: start tray after syncthing.service

Fixes #2963
This commit is contained in:
Sumner Evans 2022-05-19 09:22:35 -06:00
parent cb9f03d519
commit 85509d0934
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -98,7 +98,11 @@ in {
Unit = {
Description = cfg.tray.package.pname;
Requires = [ "tray.target" ];
After = [ "graphical-session-pre.target" "tray.target" ];
After = [
"graphical-session-pre.target"
"tray.target"
"syncthing.service"
];
PartOf = [ "graphical-session.target" ];
};
@ -118,7 +122,11 @@ in {
Unit = {
Description = "syncthingtray";
Requires = [ "tray.target" ];
After = [ "graphical-session-pre.target" "tray.target" ];
After = [
"graphical-session-pre.target"
"tray.target"
"syncthing.service"
];
PartOf = [ "graphical-session.target" ];
};