immich: init

This commit is contained in:
Grigory Shipunov 2025-01-21 17:39:25 +00:00 committed by Grisha Shipunov
parent db13bc801c
commit 42aa8b3a78
10 changed files with 259 additions and 0 deletions

19
hosts/immich/immich.nix Normal file
View file

@ -0,0 +1,19 @@
{ 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;
settings = null; # has to contain secrets https://github.com/immich-app/immich/discussions/14815
environment = {
IMMICH_CONFIG_FILE = config.sops.secrets."immich.yaml".path;
};
};
}