about summary refs log tree commit diff
path: root/distributed-test.nix
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-08-13 22:33:38 +0300
committerVika <vika@fireburn.ru>2022-08-13 22:36:13 +0300
commit629531bdefad41e8839fa818e68bcf9a083466f8 (patch)
tree65c9bb8a5e51bcbadeded91e15b694482c075c21 /distributed-test.nix
parent8a6447c8aabb36ec4a8e66c61c058fbf36727802 (diff)
downloadkittybox-629531bdefad41e8839fa818e68bcf9a083466f8.tar.zst
NixOS module fixes and temporary fixes to the legacy configuration
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, ... }: {