blob: 7703e2e9858200a1d2f13e3c10e33e111d3e9a97 (
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 = false; # build failure at nixpkgs-unstable: github:nixos/nixpkgs/8913c168d1c56dc49a7718685968f38752171c3b?narHash=sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI%3D
settings = null; # has to contain secrets https://github.com/immich-app/immich/discussions/14815
environment = {
IMMICH_CONFIG_FILE = config.sops.secrets."immich.yaml".path;
};
};
}
|