Cleanup
This commit is contained in:
@@ -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,8 +158,7 @@ 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"; };
|
||||||
virtualHosts."jelly.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:8096"; };
|
virtualHosts."jelly.maybec.at" = proxyVhost { upstream = "http://127.0.0.1:8096"; };
|
||||||
|
|||||||
Reference in New Issue
Block a user