summaryrefslogtreecommitdiffstats
path: root/shared/2configs/shack-drivedroid.nix
blob: 294f3a3698fe0e92b689cc8ed57d0494635e2332 (plain)
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
        '');
      };
    };
  };

}