30 lines
555 B
Nix
30 lines
555 B
Nix
{
|
|
containers.photos = {
|
|
autoStart = true;
|
|
|
|
bindMounts = {
|
|
"/var/lib/immich" = {
|
|
hostPath = "/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";
|
|
};
|
|
};
|
|
}
|