stockholm/shared/2configs/shack-drivedroid.nix
2015-11-17 22:15:07 +01:00

19 lines
358 B
Nix

{ 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
'');
};
};
};
}