1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ pkgs, lib, ... }: { krebs.nginx = { enable = lib.mkDefault true; servers = { drivedroid-repo = { server-names = [ "drivedroid.shack" ]; # TODO: prepare this somehow locations = lib.singleton (lib.nameValuePair "/" '' root /var/srv/drivedroid; index main.json; ''); }; }; }; }