snowflake/hosts/tsuki/services/gotify-desktop.nix
notohh 7d8085d60f
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
tsuki: init gotify desktop daemon
2023-09-19 16:03:03 -04:00

15 lines
375 B
Nix

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