Many things

This commit is contained in:
Andrea Ciceri 2022-11-02 22:51:05 +01:00
parent 3b11f01f84
commit 6b3c9e83f7
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
17 changed files with 139 additions and 28 deletions

View file

@ -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;
};
};
}