nixos/jackflix: Add PhotoPrism
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 34m59s

This commit is contained in:
2024-05-06 00:57:52 +01:00
parent 6eefe97764
commit c6d5705097
6 changed files with 66 additions and 1 deletions

View File

@@ -496,6 +496,16 @@ in
(mkIf (config.services ? "wastebin" && config.services.wastebin.enable) {
my.tmproot.persistence.config.directories = [ "/var/lib/private/wastebin" ];
})
(mkIf config.services.photoprism.enable {
my.tmproot.persistence.config.directories = [
{
directory = config.services.photoprism.storagePath;
mode = "0750";
user = "photoprism";
group = "photoprism";
}
];
})
]))
]);