stockholm/shared/2configs/shack-drivedroid.nix

19 lines
360 B
Nix
Raw Normal View History

2015-11-17 21:15:07 +00:00
{ pkgs, lib, ... }:
{
krebs.nginx = {
enable = lib.mkDefault true;
servers = {
drivedroid-repo = {
server-names = [ "drivedroid.shack" ];
# TODO: prepare this somehow
locations = lib.singleton (lib.nameValuePair "/" ''
2015-11-17 22:11:55 +00:00
root /var/srv/drivedroid;
index main.json;
2015-11-17 21:15:07 +00:00
'');
};
};
};
}