tsuki: init gotify desktop daemon
All checks were successful
ci/woodpecker/push/checks Pipeline was successful

This commit is contained in:
notohh 2023-09-19 16:03:03 -04:00
parent 9753030805
commit 7d8085d60f
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{...}: {
imports = [
./restic.nix
./gotify-desktop.nix
];
}

View file

@ -0,0 +1,15 @@
{pkgs, ...}: {
systemd.services.gotify-desktop = {
enable = true;
wantedBy = [
"multi-user.target"
];
description = "Small Gotify daemon to send messages as desktop notifications";
serviceConfig = {
User = "notoh";
ExecStart = "${pkgs.gotify-desktop}/bin/gotify-desktop";
Restart = "always";
RestartSec = 30;
};
};
}