summaryrefslogtreecommitdiffstats
path: root/shared/2configs/shack-drivedroid.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shared/2configs/shack-drivedroid.nix')
-rw-r--r--shared/2configs/shack-drivedroid.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/shared/2configs/shack-drivedroid.nix b/shared/2configs/shack-drivedroid.nix
new file mode 100644
index 000000000..294f3a369
--- /dev/null
+++ b/shared/2configs/shack-drivedroid.nix
@@ -0,0 +1,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
+ '');
+ };
+ };
+ };
+
+}