blob: bd17dd478e8aab1ba0f188b6030117363f3ed300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
config,
...
}:
{
sops.secrets."immich.yaml" = {
sopsFile = ./immich.yaml;
owner = config.services.immich.user;
key = "";
};
services.immich = {
enable = true;
host = "10.89.88.13";
redis.enable = true;
database.createDB = true;
machine-learning.enable = true;
settings = null; # has to contain secrets https://github.com/immich-app/immich/discussions/14815
environment = {
IMMICH_CONFIG_FILE = config.sops.secrets."immich.yaml".path;
};
};
}
|