immich: Move out of container

This commit is contained in:
Jan Kremer 2026-02-05 13:35:02 +01:00
parent aaf705b7d6
commit c7c1f6f2cf
No known key found for this signature in database
5 changed files with 14 additions and 29 deletions

View file

@ -79,5 +79,5 @@
i18n.defaultLocale = "de_DE.UTF-8"; i18n.defaultLocale = "de_DE.UTF-8";
system.stateVersion = "23.11"; # Don't change! system.stateVersion = "25.11"; # Don't change!
} }

View file

@ -18,7 +18,7 @@
home = { home = {
username = "jan"; username = "jan";
homeDirectory = "/Users/jan"; homeDirectory = "/Users/jan";
stateVersion = "24.05"; stateVersion = "25.11";
## Mute login message in terminal ## Mute login message in terminal
file.".hushlogin".text = ""; file.".hushlogin".text = "";

View file

@ -2,7 +2,7 @@
imports = [ imports = [
./copyparty.nix ./copyparty.nix
# ./forgejo.nix # ./forgejo.nix
# ./immich.nix ./immich.nix
./jellyfin.nix ./jellyfin.nix
# ./minecraft.nix # ./minecraft.nix
./samba.nix ./samba.nix

View file

@ -1,30 +1,10 @@
{ {
containers.photos = { services = {
autoStart = true; immich = {
enable = true;
bindMounts = { # port = 2283;
"/var/lib/immich" = { accelerationDevices = [ "/dev/dri/renderD128" ];
hostPath = "/mnt/sdb1/photos"; mediaLocation = "/mnt/sdb1/photos";
isReadOnly = false;
};
};
config = {
services = {
immich = {
enable = true;
# port = 2283;
host = "photos.alpine-centauri.ts.net";
};
tailscale = {
enable = true;
useRoutingFeatures = "server";
interfaceName = "userspace-networking";
};
};
system.stateVersion = "24.05";
}; };
}; };
} }

View file

@ -18,6 +18,11 @@
"tcp:443" = "https://localhost:8096"; "tcp:443" = "https://localhost:8096";
}; };
}; };
photos = {
endpoints = {
"tcp:443" = "https://localhost:2283";
};
};
}; };
}; };
}; };