diff options
author | stuebinm | 2023-02-14 00:05:31 +0100 |
---|---|---|
committer | stuebinm | 2023-02-14 00:05:31 +0100 |
commit | b370913199f3907758f2f8639915802e857e3af6 (patch) | |
tree | 6ff1661e4c7f84297b403715c43d7964df2af2f3 | |
parent | 922086d6a92e7f10f258311c5ab6bf79054a62c2 (diff) |
chaski: remove 22f3 floor plans
-rw-r--r-- | chaski/configuration.nix | 1 | ||||
-rw-r--r-- | chaski/services/22f3.nix | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/chaski/configuration.nix b/chaski/configuration.nix index f7252c4..2ecfe4c 100644 --- a/chaski/configuration.nix +++ b/chaski/configuration.nix @@ -10,7 +10,6 @@ ./hardware-configuration.nix ./services/uplcg.nix ./services/tracktrain.nix - ./services/22f3.nix ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; 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; - ''; - }; - }; -} |