diff options
| author | Grisha Shipunov | 2026-07-26 08:45:30 +0000 |
|---|---|---|
| committer | Grisha Shipunov | 2026-07-26 08:45:30 +0000 |
| commit | a38e90adf7d746cc9cb1c1e02a615e32556597fa (patch) | |
| tree | 4752a20ffb4a2dab18e26952eaf4a84c9e0417e0 /microvms/immich/immich.nix | |
| parent | 7be7bf0700dd2ae6e9e9b9726ec94d211f4615d7 (diff) | |
move microvms to separate folder
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; + }; + }; +} |
