about summary refs log tree commit diff
path: root/distributed-test.nix
diff options
context:
space:
mode:
Diffstat (limited to 'distributed-test.nix')
-rw-r--r--distributed-test.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/distributed-test.nix b/distributed-test.nix
index 39a080b..11c2dba 100644
--- a/distributed-test.nix
+++ b/distributed-test.nix
@@ -7,9 +7,8 @@ kittybox:
 
     services.kittybox = {
       enable = true;
-      tokenEndpoint = "https://example.com";
-      authorizationEndpoint = "https://example.com";
-      backendUri = "file:///srv/kittybox";
+      backendUri = "file:///srv/kittybox/data";
+      blobstoreUri = "file:///srv/kittybox/media";
     };
 
     environment.systemPackages = with pkgs; [ xh ];
@@ -51,7 +50,9 @@ in {
         /srv 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check,fsid=0)
       '';
       systemd.tmpfiles.rules = [
-        "d /srv/kittybox 1750 kittybox root -"
+        "d /srv/kittybox       1750 kittybox root -"
+        "d /srv/kittybox/data  1750 kittybox root -"
+        "d /srv/kittybox/media 1750 kittybox root -"
       ];
     };
     longiflorum = { config, pkgs, lib, ... }: {