feat: immich, apply to beamd storage

This commit is contained in:
Clark A. 2026-03-25 19:29:31 +01:00
parent a19279faeb
commit b88bd73ba0
2 changed files with 12 additions and 13 deletions

View file

@ -14,22 +14,18 @@
../common
../features/gaming.nix
../features/gnome.nix
../features/matrix.nix
../features/hyprland.nix
../features/gnome.nix
../features/immich.nix
../features/ollama.nix
../features/tailscale.nix
../features/wayland/hyprland.nix
];
services.tailscale.enable = true;
services.immich = {
enable = true;
# package = pkgs-unstable.immich;
mediaLocation = "/media/storage/immich";
host = "127.0.0.1";
};
# separate hard disk
services.immich.mediaLocation = "/media/storage/immich";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];

View file

@ -1,7 +1,10 @@
{ pkgs-unstable, ... }:
{
services.immich.enable = true;
services.immich.port = 2283;
# TODO: this is highly insecure
networking.firewall.allowedTCPPorts = [ 2283 ];
services.immich = {
enable = true;
package = pkgs-unstable.immich;
# https://wiki.nixos.org/wiki/Immich
host = "0.0.0.0";
openFirewall = true;
};
}