diff --git a/nix/modules/caddy/default.nix b/nix/modules/caddy/default.nix index 13f445e..463b85f 100644 --- a/nix/modules/caddy/default.nix +++ b/nix/modules/caddy/default.nix @@ -6,7 +6,7 @@ let "github.com/noratrieb-mirrors/certmagic-s3@v1.1.3" "github.com/sagikazarmark/caddy-fs-s3@v0.10.0" ]; - hash = "sha256-mrsiXQi+5SIA/vhRuyiPUE5EXmLgUHCC5I+L8ARFDDg="; + hash = "sha256-m5RHlrheqzoGqKQxixq+xTd2hlnCTets9zCT7aFka8g="; }; in { diff --git a/nix/modules/immich/default.nix b/nix/modules/immich/default.nix index a681d93..9d3b52c 100644 --- a/nix/modules/immich/default.nix +++ b/nix/modules/immich/default.nix @@ -10,6 +10,9 @@ enableVectors = false; enableVectorChord = true; }; + environment = { + IMMICH_TELEMETRY_INCLUDE = "all"; + }; openFirewall = true; }; @@ -26,4 +29,6 @@ local all all peer ''; }; + + networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8081 8082 ]; } diff --git a/nix/modules/prometheus/default.nix b/nix/modules/prometheus/default.nix index d0e67a1..ef04088 100644 --- a/nix/modules/prometheus/default.nix +++ b/nix/modules/prometheus/default.nix @@ -85,6 +85,13 @@ scrape_interval = "1h"; static_configs = [{ targets = [ "localhost:7846" ]; }]; } + { + job_name = "immich"; + static_configs = [ + { targets = [ "minipc.local:8081" ]; labels = { server = "minipc"; }; } + { targets = [ "minipc.local:8082" ]; labels = { server = "minipc"; }; } + ]; + } ]; }; diff --git a/nix/nixpkgs.json b/nix/nixpkgs.json index 10dd445..8d760b2 100644 --- a/nix/nixpkgs.json +++ b/nix/nixpkgs.json @@ -1,6 +1,6 @@ { "nixos-25.11": { - "lastUpdated": "2026-05-10T14:35:41.703Z", - "commit": "0c88e1f2bdb93d5999019e99cb0e61e1fe2af4c5" + "lastUpdated": "2026-05-28T12:57:27.843Z", + "commit": "b77b3de8775677f84492abe84635f87b0e153f0f" } }