Many things
This commit is contained in:
parent
3b11f01f84
commit
6b3c9e83f7
17 changed files with 139 additions and 28 deletions
|
@ -1,3 +1,18 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.element-desktop];
|
||||
|
||||
systemd.user.services.element-desktop = {
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
|
||||
Unit = {
|
||||
Description = "Element";
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.element-desktop}/bin/element-desktop";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue