Fix variables not getting passed to user services
This commit is contained in:
parent
33127a072e
commit
eb00e209e6
2 changed files with 5 additions and 3 deletions
|
@ -16,9 +16,10 @@
|
|||
Unit = {
|
||||
Description = "Discord Internet voice chat";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" "pipewire-pulse.service" "tray.service" "telegram.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStartPre = "/usr/bin/env sleep 1s";
|
||||
ExecStart = "${pkgs.webcord}/bin/webcord";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
@ -28,10 +29,10 @@
|
|||
Unit = {
|
||||
Description = "Telegram Internet chat";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" "pipewire-pulse.service" ];
|
||||
After = [ "graphical-session.target" "pipewire-pulse.service" "tray.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.sway}/bin/swaymsg exec -- ${pkgs.tdesktop}/bin/telegram-desktop";
|
||||
ExecStart = "${pkgs.tdesktop}/bin/telegram-desktop";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue