diff options
author | Vika <vika@fireburn.ru> | 2022-08-13 22:33:38 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-08-13 22:36:13 +0300 |
commit | 629531bdefad41e8839fa818e68bcf9a083466f8 (patch) | |
tree | 65c9bb8a5e51bcbadeded91e15b694482c075c21 /distributed-test.nix | |
parent | 8a6447c8aabb36ec4a8e66c61c058fbf36727802 (diff) | |
download | kittybox-629531bdefad41e8839fa818e68bcf9a083466f8.tar.zst |
NixOS module fixes and temporary fixes to the legacy configuration
Diffstat (limited to 'distributed-test.nix')
-rw-r--r-- | distributed-test.nix | 9 |
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, ... }: { |