diff options
Diffstat (limited to 'shared/2configs/shack-drivedroid.nix')
-rw-r--r-- | shared/2configs/shack-drivedroid.nix | 18 |
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..44b62a807 --- /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; + ''); + }; + }; + }; + +} |