me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

Avoid PostgreSQL port conflict for Immich

author
Sean Aye
date (Jun 3, 2026, 12:02 PM -0400) commit 5ff2857f parent dc5f02d0 change-id qwkrlvsx
+11 -1
+11 -1
modules/media-server.nix
··· 9 9 in 10 10 { 11 11 flake.modules.nixos.media-server = 12 - { pkgs, config, ... }: 12 + { pkgs, config, lib, ... }: 13 13 { 14 14 services.flaresolverr.enable = true; 15 + 16 + services.immich = { 17 + enable = true; 18 + mediaLocation = "/mnt/storage2/immich"; 19 + host = "0.0.0.0"; 20 + openFirewall = true; 21 + }; 22 + 23 + # Immich uses PostgreSQL via Unix socket; avoid conflicting with lbdt-postgres on TCP/5432. 24 + services.postgresql.settings.listen_addresses = lib.mkForce ""; 15 25 16 26 age.secrets.wireguard.file = ../secrets/wireguard.age; 17 27