1

Compare commits

...

2 Commits

Author SHA1 Message Date
1f8ff6f270 ServeNix: Update Immich 2025-05-24 16:40:15 +02:00
9555c20fc3 ServeNix: Disable NextCloud cronjob container 2025-05-24 16:40:15 +02:00
2 changed files with 19 additions and 23 deletions

View File

@ -5,7 +5,7 @@
... ...
}: { }: {
virtualisation.oci-containers.containers.immich-database = { virtualisation.oci-containers.containers.immich-database = {
image = "tensorchord/pgvecto-rs:pg15-v0.2.0"; image = "ghcr.io/immich-app/postgres:15-vectorchord0.3.0-pgvectors0.2.0";
autoStart = true; autoStart = true;
dependsOn = []; dependsOn = [];

View File

@ -102,29 +102,25 @@
]; ];
}; };
# NOTE: Stops sometimes, use AJAX for now... systemd.services.nextcloud-cron = {
# virtualisation.oci-containers.containers.nextcloud-cronjob = { enable = true;
# image = "rcdailey/nextcloud-cronjob"; description = "Nextcloud Cron Job";
# autoStart = true;
serviceConfig = {
ExecStart = "${pkgs.docker}/bin/docker exec -u www-data nextcloud /usr/local/bin/php -f /var/www/html/cron.php";
};
};
# dependsOn = [ systemd.timers.nextcloud-cron = {
# "nextcloud" enable = true;
# ]; description = "Nextcloud Cron Job";
# ports = []; timerConfig = {
OnBootSec = "5min";
OnUnitActiveSec = "5min";
Unit = "nextcloud-cron.service";
};
# volumes = [ wantedBy = ["timers.target"];
# "/etc/localtime:/etc/localtime:ro" };
# "/var/run/docker.sock:/var/run/docker.sock:ro"
# ];
# environment = {
# NEXTCLOUD_CONTAINER_NAME = "nextcloud";
# NEXTCLOUD_CRON_MINUTE_INTERVAL = "15";
# };
# extraOptions = [
# "--net=behind-nginx"
# ];
# };
} }