summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/light.shack.nix
blob: 8e01cb1bfdd56ebe2862a28f8cd9dc7072d15df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}