add serve for notes

This commit is contained in:
chaos 2024-04-26 19:57:02 +01:00
parent a657ea7da5
commit c84a946b76
No known key found for this signature in database

View file

@ -91,6 +91,16 @@ in {
"--vfs-cache-max-age=5m"
"--vfs-cache-max-size=1g"
"--vfs-cache-mode=full"
];
}
{
id = "notes";
remote = "Notes:";
type = "webdav";
extraArgs = [
"--addr=0.0.0.0:${toString ports.webdav_notes}"
"--htpasswd=${secrets.webdav_notes_htpasswd.path}"
"--baseurl=/Notes/"
];
}
{