diff --git a/sys/platforms/vps/hardware-configuration.nix b/sys/platforms/vps/hardware-configuration.nix index 41cc7ee..c4d36e9 100644 --- a/sys/platforms/vps/hardware-configuration.nix +++ b/sys/platforms/vps/hardware-configuration.nix @@ -14,12 +14,6 @@ in { options = ["nofail" "noatime"]; }; - "/mnt/export2178" = { - device = "172.16.129.151:/nas/5876/immich"; - fsType = "nfs"; - options = ["nofail" "noatime"]; - }; - "/mnt/export2179" = { device = "172.16.131.31:/nas/5876/syncthing"; fsType = "nfs"; diff --git a/sys/platforms/vps/srv/default.nix b/sys/platforms/vps/srv/default.nix index d7511ed..0d52a07 100644 --- a/sys/platforms/vps/srv/default.nix +++ b/sys/platforms/vps/srv/default.nix @@ -14,7 +14,6 @@ with lib; { ./trilium.nix ./syncthing.nix ./calibre-web.nix - ./immich.nix ./mealie.nix ./dufs.nix ./isso.nix diff --git a/sys/platforms/vps/srv/immich.nix b/sys/platforms/vps/srv/immich.nix deleted file mode 100644 index cad0b6a..0000000 --- a/sys/platforms/vps/srv/immich.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ - lib, - pkgs, - ... -}: -with lib; { - services = { - nginx = { - virtualHosts."photos.posixlycorrect.com" = { - enableACME = true; - forceSSL = true; - extraConfig = '' - proxy_headers_hash_max_size 512; - proxy_headers_hash_bucket_size 128; - ''; - locations."/" = { - proxyPass = "http://localhost:2283"; - }; - }; - }; - - immich = { - enable = true; - secretsFile = "/var/trust/immich/secrets.txt"; - mediaLocation = "/mnt/export2178/immich/media"; - machine-learning.enable = false; - environment = { - IMMICH_TELEMETRY_EXCLUDE = "host,api,io,repo,job"; - }; - settings = { - machineLearning = { - enabled = false; - }; - job = { - backgroundTask = { - concurrency = 1; - }; - smartSearch = { - concurrency = 1; - }; - metadataExtraction = { - concurrency = 1; - }; - faceDetection = { - concurrency = 1; - }; - search = { - concurrency = 1; - }; - sidecar = { - concurrency = 1; - }; - library = { - concurrency = 1; - }; - migration = { - concurrency = 1; - }; - thumbnailGeneration = { - concurrency = 1; - }; - videoConversion = { - concurrency = 1; - }; - notifications = { - concurrency = 1; - }; - }; - }; - }; - }; -}