stockholm/krebs/2configs/shack/light.shack.nix

15 lines
362 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
2021-09-05 17:51:31 +00:00
light-shack-src =
pkgs.fetchFromGitHub {
owner = "shackspace";
repo = "standby.shack";
rev = "e1b90a0a";
sha256 = "07fmz63arc5rxa0a3778srwz0jflp4ad6xnwkkc56hwybby0bclh";
};
web-dir = "${light-shack-src}/client/www/";
in
{
services.nginx.virtualHosts."light.shack".locations."/".root = web-dir;
}