summaryrefslogtreecommitdiff
path: root/chaski/services
diff options
context:
space:
mode:
authorstuebinm2023-02-14 00:05:31 +0100
committerstuebinm2023-02-14 00:05:31 +0100
commitb370913199f3907758f2f8639915802e857e3af6 (patch)
tree6ff1661e4c7f84297b403715c43d7964df2af2f3 /chaski/services
parent922086d6a92e7f10f258311c5ab6bf79054a62c2 (diff)
chaski: remove 22f3 floor plans
Diffstat (limited to 'chaski/services')
-rw-r--r--chaski/services/22f3.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/chaski/services/22f3.nix b/chaski/services/22f3.nix
deleted file mode 100644
index 877966c..0000000
--- a/chaski/services/22f3.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ config, lib, pkgs, inputs, ... }:
-
-let
- roomplans = pkgs.stdenv.mkDerivation {
- name = "22f3-roomplans";
- src = inputs.freiraum;
- buildInputs = with pkgs; [ poppler_utils inkscape gauche ];
- buildPhase = ''
- cp $src/* .
- gosh ./generate.scm
- '';
- installPhase = ''
- mkdir -p $out;
- cp out/combined.pdf $out/raumplan.pdf
- cp svg/* $out
- '';
- };
-in
-
-{
- services.nginx.virtualHosts."22f3.stuebinm.eu" = {
- enableACME = true;
- forceSSL = true;
- locations."/" = {
- root = roomplans.outPath;
- extraConfig = ''
- autoindex on;
- '';
- };
- };
-}