feat: Authorise fruitbook

This commit is contained in:
Madeleine Sydney
2025-01-27 03:21:52 -07:00
parent 821f766f9a
commit 3c13e53b2a
2 changed files with 6 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ in {
description = "Deertopia's WebDAV server";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
# TODO: Exclude .git.
# TODO: Respect .gitignore.
script = ''
${pkgs.rclone}/bin/rclone serve webdav \
--addr ":${builtins.toString cfg.port}" \