autostart thunderbird
This commit is contained in:
parent
c65c6a1331
commit
0e023887b7
2 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,17 @@
|
|||
{ config, pkgs, lib, inputs, ... }: {
|
||||
systemd.user.services = {
|
||||
thunderbird = {
|
||||
Unit = {
|
||||
Description = "Thunderbird Email client";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.thunderbird}/bin/thunderbird";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||
};
|
||||
discord = {
|
||||
Unit = {
|
||||
Description = "Discord Internet voice chat";
|
||||
|
@ -26,5 +38,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ tdesktop webcord ];
|
||||
home.packages = with pkgs; [ tdesktop webcord thunderbird ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue