diff --git a/caladan/services.nix b/caladan/services.nix index ebfcbd2..24ac926 100644 --- a/caladan/services.nix +++ b/caladan/services.nix @@ -10,6 +10,7 @@ enable = true; host = "0.0.0.0"; openFirewall = true; + mediaLocation = "/data/immich"; secretsFile = "/run/secrets/immich"; database.createDB = false; }; diff --git a/modules/immich.nix b/modules/immich.nix index 6ac2019..feceb2d 100644 --- a/modules/immich.nix +++ b/modules/immich.nix @@ -38,7 +38,7 @@ in with lib; { type = types.str; default = "immich"; }; - machine-learning.enable = mkEnableOption "immich-machine-learning"; + machine-learning.enable = mkEnableOption "immich-machine-learning" // { default = true; }; database = { createDB = mkOption { type = types.bool;