snowflake/hosts/tsuki/services/gotify-desktop.nix

16 lines
375 B
Nix
Raw Normal View History

2023-09-19 16:03:03 -04:00
{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;
};
};
}