This commit is contained in:
2026-07-16 13:28:25 +02:00
parent e2c00b3564
commit ae789a2006
+13 -1
View File
@@ -84,6 +84,12 @@ in
mediaLocation = "/media/immich"; mediaLocation = "/media/immich";
}; };
services.zfs.autoScrub = {
enable = true;
interval = "monthly";
pools = [ "media" ];
};
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
enableOnBoot = true; enableOnBoot = true;
@@ -92,6 +98,13 @@ in
dates = "weekly"; dates = "weekly";
flags = [ "--all" ]; flags = [ "--all" ];
}; };
daemon.settings = {
log-driver = "json-file";
log-opts = {
max-size = "10m";
max-file = "3";
};
};
}; };
systemd.services.transmission = dockerService { systemd.services.transmission = dockerService {
@@ -145,7 +158,6 @@ in
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts."transmission.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:9091"; };
virtualHosts."aftersummer.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:5588"; }; virtualHosts."aftersummer.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:5588"; };
virtualHosts."spine.maybec.at" = proxyVhost { upstream = "http://localhost:3000"; }; virtualHosts."spine.maybec.at" = proxyVhost { upstream = "http://localhost:3000"; };
virtualHosts."bookthing.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:8000"; }; virtualHosts."bookthing.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:8000"; };