Improve the formatting

This commit is contained in:
SebastianStork 2024-04-20 19:00:09 +02:00
parent 62f4103c7a
commit 692ef91ba9
14 changed files with 107 additions and 40 deletions

View file

@ -22,15 +22,14 @@ in {
Unit = {
Description = "Syncthingtray";
Requires = ["tray.target"];
After = ["graphical-session-pre.target" "tray.target"];
After = [
"graphical-session-pre.target"
"tray.target"
];
PartOf = ["graphical-session.target"];
};
Service = {
ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
};
Install = {
WantedBy = ["graphical-session.target"];
};
Service.ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
Install.WantedBy = ["graphical-session.target"];
};
};
})
@ -43,15 +42,14 @@ in {
Unit = {
Description = "Networkmanager-applet";
Requires = ["tray.target"];
After = ["graphical-session-pre.target" "tray.target"];
After = [
"graphical-session-pre.target"
"tray.target"
];
PartOf = ["graphical-session.target"];
};
Service = {
ExecStart = "${lib.getExe pkgs.networkmanagerapplet}";
};
Install = {
WantedBy = ["graphical-session.target"];
};
Service.ExecStart = "${lib.getExe pkgs.networkmanagerapplet}";
Install.WantedBy = ["graphical-session.target"];
};
};
})