nixos/jackflix: Add PhotoPrism
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 34m59s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 34m59s
This commit is contained in:
@@ -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";
|
||||
}
|
||||
];
|
||||
})
|
||||
]))
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user