fix: immich upload limit

This commit is contained in:
Patrick 2024-02-29 18:59:41 +01:00
parent 9c005cc42c
commit a5b62cd6ce
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
4 changed files with 6 additions and 4 deletions

View file

@ -13,7 +13,7 @@
format = "gpt";
partitions = [
(partEfi "boot" "0%" "2GiB")
(partSwap "swap" "2GiB" "18GiB")
#(partSwap "swap" "2GiB" "18GiB")
(partLuksZfs "m2-ssd" "rpool" "18GiB" "100%")
];
};

View file

@ -65,7 +65,7 @@ in {
servers."${ipOf "immich"}:2283" = {};
extraConfig = ''
zone gitea 64k ;
zone immich 64k ;
keepalive 5 ;
'';
};
@ -77,7 +77,7 @@ in {
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 1G ;
client_max_body_size 5G ;
'';
};

View file

@ -32,6 +32,7 @@
user_rules = [
"||adguardhome.${config.secrets.secrets.global.domains.web}^$dnsrewrite=${lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnetv4}"
"||nc.${config.secrets.secrets.global.domains.web}^$dnsrewrite=${lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnetv4}"
"||immich.${config.secrets.secrets.global.domains.web}^$dnsrewrite=${lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnetv4}"
"||fritz.box^$dnsrewrite=${lib.net.cidr.host 1 config.secrets.secrets.global.net.privateSubnetv4}"
];
dhcp.enabled = false;

View file

@ -1,6 +1,7 @@
{
symlinkJoin,
writeShellApplication,
nvd,
nix-output-monitor,
}: let
deploy = writeShellApplication {
@ -92,7 +93,7 @@
ssh "$host" -- "$top_level/bin/switch-to-configuration" "$ACTION" \
|| die "Error activating toplevel for $system"
if [[ -n "$prev_system" ]]; then
ssh "$host" -- nvd --color always diff "$prev_system" "$top_level"
ssh "$host" -- ${nvd}/bin/nvd --color always diff "$prev_system" "$top_level"
fi
)
}