move base data dir
This commit is contained in:
parent
9b13797b9b
commit
999740e7bd
15 changed files with 100 additions and 32 deletions
|
@ -20,7 +20,7 @@
|
|||
port = 5489;
|
||||
host = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
mediaLocation = "/srv/services/immich/library";
|
||||
mediaLocation = "/var/lib/immich";
|
||||
secretsFile = config.age.secrets.immich.path;
|
||||
database = {
|
||||
enable = true;
|
||||
|
@ -52,4 +52,19 @@
|
|||
{url = "http://127.0.0.1:${toString config.services.immich.port}";}
|
||||
];
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/var/lib/immich";
|
||||
user = "immich";
|
||||
group = "immich";
|
||||
}
|
||||
{
|
||||
directory = "/var/lib/redis-immich";
|
||||
user = "immich";
|
||||
group = "immich";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue