immich: Move out of container
This commit is contained in:
parent
aaf705b7d6
commit
c7c1f6f2cf
5 changed files with 14 additions and 29 deletions
|
|
@ -1,30 +1,10 @@
|
|||
{
|
||||
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";
|
||||
services = {
|
||||
immich = {
|
||||
enable = true;
|
||||
# port = 2283;
|
||||
accelerationDevices = [ "/dev/dri/renderD128" ];
|
||||
mediaLocation = "/mnt/sdb1/photos";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue