vps: remove immich
This commit is contained in:
parent
630f678a04
commit
883269c8bd
3 changed files with 0 additions and 79 deletions
|
|
@ -14,12 +14,6 @@ in {
|
||||||
options = ["nofail" "noatime"];
|
options = ["nofail" "noatime"];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/mnt/export2178" = {
|
|
||||||
device = "172.16.129.151:/nas/5876/immich";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = ["nofail" "noatime"];
|
|
||||||
};
|
|
||||||
|
|
||||||
"/mnt/export2179" = {
|
"/mnt/export2179" = {
|
||||||
device = "172.16.131.31:/nas/5876/syncthing";
|
device = "172.16.131.31:/nas/5876/syncthing";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ with lib; {
|
||||||
./trilium.nix
|
./trilium.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./calibre-web.nix
|
./calibre-web.nix
|
||||||
./immich.nix
|
|
||||||
./mealie.nix
|
./mealie.nix
|
||||||
./dufs.nix
|
./dufs.nix
|
||||||
./isso.nix
|
./isso.nix
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue