fix: immich upload limit
This commit is contained in:
parent
9c005cc42c
commit
a5b62cd6ce
|
@ -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%")
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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 ;
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue