metube and jira

This commit is contained in:
2024-03-28 13:34:04 -06:00
parent 8b10e9020f
commit ff98822668
3 changed files with 105 additions and 88 deletions

View File

@@ -78,8 +78,9 @@ in {
# sonarr = base // { package = pkgs.sonarr; };
# radarr = base // { package = pkgs.radarr; };
# bazarr = base // { };
# jellyfin = base // { };
jellyfin = base // { };
# prowlarr.enable = true;
jira.enable = true;
microbin = {
enable = true;
settings = {
@@ -234,19 +235,19 @@ in {
};
systemd = {
services = {
nextcloud-cronjob = let
jawzNextcloudCronjob = pkgs.writeScriptBin "nextcloud-cronjob"
(builtins.readFile ../scripts/nextcloud-cronjob.sh);
in {
description = "Runs various nextcloud-related cronjobs";
wantedBy = [ "multi-user.target" ];
path = [ pkgs.bash jawzNextcloudCronjob ];
serviceConfig = {
Restart = "on-failure";
RestartSec = 30;
ExecStart = "${jawzNextcloudCronjob}/bin/nextcloud-cronjob";
};
};
# nextcloud-cronjob = let
# jawzNextcloudCronjob = pkgs.writeScriptBin "nextcloud-cronjob"
# (builtins.readFile ../scripts/nextcloud-cronjob.sh);
# in {
# description = "Runs various nextcloud-related cronjobs";
# wantedBy = [ "multi-user.target" ];
# path = [ pkgs.bash jawzNextcloudCronjob ];
# serviceConfig = {
# Restart = "on-failure";
# RestartSec = 30;
# ExecStart = "${jawzNextcloudCronjob}/bin/nextcloud-cronjob";
# };
# };
};
timers = {
# nextcloud-cronjob = {