mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
(bug): added missing file creation
This commit is contained in:
parent
11f52d77bf
commit
5b19175985
|
@ -10,7 +10,8 @@
|
|||
services.photoprism = {
|
||||
enable = true;
|
||||
port = 2342;
|
||||
originalsPath = "/var/lib/private/photoprism/originals";
|
||||
originalsPath = "/srv/cloud/photoprism/originals";
|
||||
importPath = "/srv/cloud/photoprism/imports";
|
||||
settings = {
|
||||
PHOTOPRISM_ADMIN_USER = "admin";
|
||||
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
||||
|
@ -23,4 +24,9 @@
|
|||
};
|
||||
passwordFile = config.sops.secrets.photoprismPassword.path;
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/cloud/photoprism/originals 0755 photoprism photoprism"
|
||||
"d /srv/cloud/photoprism/imports 0755 photoprism photoprism"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue