summaryrefslogtreecommitdiff
path: root/Biz/Nixpert.nix
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Nixpert.nix')
-rw-r--r--Biz/Nixpert.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/Biz/Nixpert.nix b/Biz/Nixpert.nix
deleted file mode 100644
index f2f99b2..0000000
--- a/Biz/Nixpert.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ pkgs, ... }:
-
-let
- salespage = pkgs.runCommand "salespage" { } ''
- mkdir -p $out
- ${pkgs.pandoc}/bin/pandoc \
- --standalone \
- -f commonmark_x \
- --include-in-header ${./Que/Style.css} \
- --include-in-header ${./Nixpert/ChatWidget.html} \
- -t html \
- ${./Nixpert.md} \
- > $out/index.html
- '';
-in {
- services.nginx.virtualHosts."nixpert.chat" = {
- forceSSL = true;
- enableACME = true;
- locations."/" = {
- root = "${salespage}";
- extraConfig = ''
- add_header Access-Control-Allow-Origin "*";
- '';
- };
- };
-}