This commit is contained in:
Filippo Berto 2025-09-04 14:37:40 +02:00
parent b20666b8d5
commit b9ae5a1472
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
4 changed files with 31 additions and 0 deletions

View file

@ -339,6 +339,7 @@
./modules/nixos/torrentbox.nix ./modules/nixos/torrentbox.nix
./modules/nixos/minio_server.nix ./modules/nixos/minio_server.nix
./modules/nixos/nextcloud.nix ./modules/nixos/nextcloud.nix
./modules/nixos/immich.nix
# ./modules/nixos/garage.nix # ./modules/nixos/garage.nix
# ./modules/nixos/ntfy.nix # ./modules/nixos/ntfy.nix
# S3 cache read # S3 cache read

View file

@ -114,6 +114,20 @@
''; '';
}; };
"immich.bertof.net" = ssl // {
locations."/" = {
proxyPass = "http://heimdall.tsn:2283";
proxyWebsockets = true;
recommendedProxySettings = true;
extraConfig = ''
client_max_body_size 50000M;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
send_timeout 600s;
'';
};
};
# "ntfy.bertof.net" = ssl // { # "ntfy.bertof.net" = ssl // {
# locations."/" = { # locations."/" = {
# proxyPass = "http://heimdall.tsn:7080/"; # proxyPass = "http://heimdall.tsn:7080/";

View file

@ -109,6 +109,9 @@ in
}; };
}; };
}; };
immich.mediaLocation = "/mnt/raid/immich";
music-assistant = { music-assistant = {
enable = true; enable = true;
providers = [ "chromecast" "dlna" "filesystem_local" "hass" "hass_players" "jellyfin" "player_group" "radiobrowser" "soundcloud" "tidal" ]; providers = [ "chromecast" "dlna" "filesystem_local" "hass" "hass_players" "jellyfin" "player_group" "radiobrowser" "soundcloud" "tidal" ];

13
modules/nixos/immich.nix Normal file
View file

@ -0,0 +1,13 @@
{
services = {
immich = {
enable = true;
accelerationDevices = [ "/dev/dri/renderD128" ];
redis.enable = true;
openFirewall = true;
host = "::";
};
# immich-public-proxy = { enable = true; openFirewall = true; immichUrl = "http://localhost:2283"; };
};
users.users.immich.extraGroups = [ "video" "render" ];
}