tsuki: init gotify desktop daemon
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
This commit is contained in:
parent
9753030805
commit
7d8085d60f
2 changed files with 16 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./restic.nix
|
||||
./gotify-desktop.nix
|
||||
];
|
||||
}
|
||||
|
|
15
hosts/tsuki/services/gotify-desktop.nix
Normal file
15
hosts/tsuki/services/gotify-desktop.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue