feat: Add Immich to eastblue

+ small fix for minecraft server

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-08-28 16:21:29 +02:00
parent 025704b65f
commit 7f0a6a2926
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 20 additions and 7 deletions

View file

@ -75,7 +75,20 @@
enable = true;
eula = true;
openFirewall = true;
package = pkgs.minecraft-server;
};
immich = {
enable = true;
host = "0.0.0.0";
port = 2283;
mediaLocation = "/mnt/media/immich-photos";
};
};
fileSystems."/mnt/media" = {
device = "/dev/disk/by-uuid/36bb5317-da75-48d2-848a-1ff249e62a6b";
fsType = "ext4";
options = [ "defaults" "nofail" ];
};
# Some programs need SUID wrappers, can be configured further or are
@ -92,7 +105,7 @@
services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
networking.firewall.allowedTCPPorts = [ 2283 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;