blob: 44b62a80776fab9e65c4c98636aaa683b1147cf2 (
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;
'');
};
};
};
}
|