summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/light.shack.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-09-27 16:09:12 +0200
committerlassulus <lassulus@lassul.us>2020-09-27 16:09:12 +0200
commit7e7499d86302d261c8f8404fb34f2ac091318d0e (patch)
tree28e7f6bce1f24e2474a8dfbcd5d912b51af8f516 /krebs/2configs/shack/light.shack.nix
parent22d52b8ed4faf55be5d37790e9f84b24fdec80eb (diff)
parent859b7d66884385e1ed1efc5b51467587108c7bb4 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/2configs/shack/light.shack.nix')
-rw-r--r--krebs/2configs/shack/light.shack.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/krebs/2configs/shack/light.shack.nix b/krebs/2configs/shack/light.shack.nix
new file mode 100644
index 000000000..8e01cb1bf
--- /dev/null
+++ b/krebs/2configs/shack/light.shack.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+let
+ light-shack-src = pkgs.fetchgit {
+ url = "https://git.shackspace.de/rz/standby.shack";
+ rev = "e1b90a0a";
+ sha256 = "07fmz63arc5rxa0a3778srwz0jflp4ad6xnwkkc56hwybby0bclh";
+ };
+ web-dir = "${light-shack-src}/client/www/";
+in
+{
+ services.nginx.virtualHosts."light.shack".locations."/".root = web-dir;
+}