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