17 lines
333 B
Nix
17 lines
333 B
Nix
_: {
|
|
sops.secrets.immich = {};
|
|
services.immich = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
host = "0.0.0.0";
|
|
mediaLocation = "/var/lib/immich";
|
|
secretsFile = "/run/secrets/immich";
|
|
machine-learning.enable = true;
|
|
redis = {
|
|
enable = true;
|
|
};
|
|
database = {
|
|
createDB = true;
|
|
};
|
|
};
|
|
}
|