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

12
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1751462021, "lastModified": 1754527677,
"narHash": "sha256-RUKSK5JFZ15hsQK8qgthbzP0iTuBlAYfnkH8tjz6SPU=", "narHash": "sha256-qAzCtmKkMz40xFgP9KN+TCKjVieK4u04EWwl2KvVk0E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6c53df3b9c809e3b4b30d515e18bfa4c6f079254", "rev": "475d35797d9537354d825260cf583114537affc2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1751271578, "lastModified": 1754214453,
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=", "narHash": "sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df", "rev": "5b09dc45f24cf32316283e62aec81ffee3c3e376",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -75,7 +75,20 @@
enable = true; enable = true;
eula = true; eula = true;
openFirewall = 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 # Some programs need SUID wrappers, can be configured further or are
@ -92,7 +105,7 @@
services.openssh.enable = true; services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; networking.firewall.allowedTCPPorts = [ 2283 ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;