mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-19 05:39:34 +01:00
(bug): added missing file creation
This commit is contained in:
parent
11f52d77bf
commit
5b19175985
|
@ -10,7 +10,8 @@
|
||||||
services.photoprism = {
|
services.photoprism = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 2342;
|
port = 2342;
|
||||||
originalsPath = "/var/lib/private/photoprism/originals";
|
originalsPath = "/srv/cloud/photoprism/originals";
|
||||||
|
importPath = "/srv/cloud/photoprism/imports";
|
||||||
settings = {
|
settings = {
|
||||||
PHOTOPRISM_ADMIN_USER = "admin";
|
PHOTOPRISM_ADMIN_USER = "admin";
|
||||||
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
||||||
|
@ -23,4 +24,9 @@
|
||||||
};
|
};
|
||||||
passwordFile = config.sops.secrets.photoprismPassword.path;
|
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