diff options
Diffstat (limited to 'microvms/immich/immich.nix')
| -rw-r--r-- | microvms/immich/immich.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/microvms/immich/immich.nix b/microvms/immich/immich.nix new file mode 100644 index 0000000..bd17dd4 --- /dev/null +++ b/microvms/immich/immich.nix @@ -0,0 +1,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; + }; + }; +} |
