mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
feat: increase proxy send timeout for immich, adjust some settings
This commit is contained in:
parent
01d5056050
commit
140dba323c
3 changed files with 29 additions and 30 deletions
|
@ -66,7 +66,7 @@ in
|
|||
backup.database = {
|
||||
cronExpression = "0 02 * * *";
|
||||
enabled = true;
|
||||
keepLastAmount = 14;
|
||||
keepLastAmount = 3;
|
||||
};
|
||||
ffmpeg = {
|
||||
accel = "disabled";
|
||||
|
@ -151,7 +151,7 @@ in
|
|||
facialRecognition = {
|
||||
enabled = true;
|
||||
maxDistance = 0.5;
|
||||
minFaces = 2;
|
||||
minFaces = 3;
|
||||
minScore = 0.65;
|
||||
modelName = "buffalo_l";
|
||||
};
|
||||
|
@ -204,7 +204,7 @@ in
|
|||
storageTemplate = {
|
||||
enabled = true;
|
||||
hashVerificationEnabled = true;
|
||||
template = "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}";
|
||||
template = "{{y}}/{{y}}-{{MM}}-{{dd}}/{{{filename}}}";
|
||||
};
|
||||
theme.customCss = "";
|
||||
trash = {
|
||||
|
@ -266,15 +266,14 @@ in
|
|||
locations."/" = {
|
||||
proxyPass = "http://immich";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = '''';
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 50G;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 1200s;
|
||||
proxy_send_timeout 1200s;
|
||||
send_timeout 1200s;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
send_timeout 3600s;
|
||||
allow ${globals.net.home-lan.vlans.home.cidrv4};
|
||||
allow ${globals.net.home-lan.vlans.home.cidrv6};
|
||||
# Firezone traffic
|
||||
|
|
|
@ -361,6 +361,7 @@ in
|
|||
MACHINE_LEARNING_WORKERS = "1";
|
||||
MACHINE_LEARNING_WORKER_TIMEOUT = "120";
|
||||
MACHINE_LEARNING_CACHE_FOLDER = "/var/cache/immich";
|
||||
XDG_CACHE_HOME = "/var/cache/immich";
|
||||
IMMICH_HOST = "localhost";
|
||||
IMMICH_PORT = "3003";
|
||||
};
|
||||
|
|
|
@ -5,31 +5,30 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./discord.nix
|
||||
./firefox.nix
|
||||
./kitty.nix
|
||||
./signal.nix
|
||||
./theme.nix
|
||||
./thunderbird.nix
|
||||
./ts3.nix
|
||||
imports = [
|
||||
./discord.nix
|
||||
./firefox.nix
|
||||
./kitty.nix
|
||||
./signal.nix
|
||||
./theme.nix
|
||||
./thunderbird.nix
|
||||
# ./ts3.nix
|
||||
|
||||
# X11
|
||||
./i3.nix
|
||||
./flameshot.nix
|
||||
# X11
|
||||
./i3.nix
|
||||
./flameshot.nix
|
||||
|
||||
# Wayland
|
||||
./gpu-screen-recorder.nix
|
||||
./hyprland.nix
|
||||
./fuzzel.nix
|
||||
./sway.nix
|
||||
./swaync.nix
|
||||
./waybar.nix
|
||||
]
|
||||
++ lib.optionals nixosConfig.graphical.gaming.enable [
|
||||
./games
|
||||
];
|
||||
# Wayland
|
||||
./gpu-screen-recorder.nix
|
||||
./hyprland.nix
|
||||
./fuzzel.nix
|
||||
./sway.nix
|
||||
./swaync.nix
|
||||
./waybar.nix
|
||||
]
|
||||
++ lib.optionals nixosConfig.graphical.gaming.enable [
|
||||
./games
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue