22 lines
421 B
Nix
22 lines
421 B
Nix
{ domain, inputs, ... }:
|
|
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
hectic.services.immich = {
|
|
enable = true;
|
|
domain = "immich.${domain}";
|
|
|
|
storageBox = {
|
|
enable = true;
|
|
credentialsFile = config.sops.secrets."immich/storage-box".path;
|
|
};
|
|
};
|
|
|
|
# Immich 3 is not available on nixos-26.05.
|
|
services.immich.package =
|
|
inputs.nixpkgs-gitea.legacyPackages.${pkgs.stdenv.hostPlatform.system}.immich;
|
|
}
|