Commit 266a008f2265

Vincent Demeester <vincent@sbr.pm>
2026-11-24 14:21:19
fix: moved public notes under var www
Kept published notes alongside the other website content. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 8d527c3
Changed files (1)
systems
carthage
systems/carthage/extra.nix
@@ -385,7 +385,7 @@ in
   systemd.tmpfiles.rules = [
     "d /var/lib/flux 0755 vincent users -"
     # Separate public notes; initially empty and maintained by vincent.
-    "d /var/lib/aniflow-notes 0755 vincent users -"
+    "d /var/www/notes 0755 vincent users -"
     # Git directory permissions (for Caddy access to public repos)
     "d /home/vincent 0711 vincent users -" # Allow traversal to git directory
     "d /home/vincent/git 0700 vincent users -" # Private git directory
@@ -434,7 +434,7 @@ in
     wantedBy = [ "multi-user.target" ];
     serviceConfig = {
       DynamicUser = true;
-      ExecStart = "${pkgs.aniflow}/bin/aniflow /var/lib/aniflow-notes --host 127.0.0.1 --port 8099 --base /notes --allow-host vincent.demeester.fr --no-comments";
+      ExecStart = "${pkgs.aniflow}/bin/aniflow /var/www/notes --host 127.0.0.1 --port 8099 --base /notes --allow-host vincent.demeester.fr --no-comments";
       Restart = "on-failure";
       ProtectSystem = "strict";
       ProtectHome = true;